I have webpage with drop down lists, so I use a div and Iframe to display my calendar (user control, code in Javascript).
when I place the html code directly on the page I can click on the calendar, open mode, and change the months.
When I use "Page.RegisterStartupScript("Startup", String)
" and the script says "document.write ..."
I can't do that anymore, the calendar control collapses as soon as I click and won't change the months, it will change the date in my connceted textbox, but that's it.
I have no idea what causes this effect and really need to fix it.
I am brand new to javascript and the code for the control is copy paste work.
Any help is much appreciated
when I place the html code directly on the page I can click on the calendar, open mode, and change the months.
When I use "Page.RegisterStartupScript("Startup", String)
" and the script says "document.write ..."
I can't do that anymore, the calendar control collapses as soon as I click and won't change the months, it will change the date in my connceted textbox, but that's it.
I have no idea what causes this effect and really need to fix it.
I am brand new to javascript and the code for the control is copy paste work.
Any help is much appreciated