problem repositioning control at runtime (c#)

L

Lee

Hello,

I am trying to reposition a calendar control at runtime i.e next to the
approriate button which was clicked.

Without the code below, the control appears in the same position but on top
of all other controls.
With the code, the calendar control is repositioned but it then appears
underneath all other controls.

calStartDate.Attributes["style"] = "position: absolute; top:400; left:
600;";

Adding 'z-index: 99;' to the above statement doesn't seem to have any
effect.

Thanks
Lee
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top