V
Vance Kessler
I have made a calendar control using the .NET Calendar that pops up in
a DIV without having to open up a new window. I still have the code
in my ASPX page since I just finished working out the tricky bits (so
it is not a .NET webcontrol yet).
I want to convert this to a webcontrol but this control relies on a
single shared DIV in which the calendar is displayed and which I can
position as needed. I know how to register script so it is only
rendered once on a page no matter how many copies of the control may
be on the page. However, I cannot see how to easily do this with HTML
elements (namely the shared DIV). I don't really care where in the
body this is rendered as I will be using absolute positioning and it
starts hidden. I guess I could use the HttpContext.Items collection
to set some kind of a flag for that request.
Thanks,
Vance
a DIV without having to open up a new window. I still have the code
in my ASPX page since I just finished working out the tricky bits (so
it is not a .NET webcontrol yet).
I want to convert this to a webcontrol but this control relies on a
single shared DIV in which the calendar is displayed and which I can
position as needed. I know how to register script so it is only
rendered once on a page no matter how many copies of the control may
be on the page. However, I cannot see how to easily do this with HTML
elements (namely the shared DIV). I don't really care where in the
body this is rendered as I will be using absolute positioning and it
starts hidden. I guess I could use the HttpContext.Items collection
to set some kind of a flag for that request.
Thanks,
Vance