I am using a WebDateChooser control in an update panel which is reside in an UltraWebTab.When the page is loaded for the first time , I selected a date and submit the information and it get saved without any issues.
Then I wanted to change the date again and I clicked on the WebDateChooser control and then the Calender is not get displayed.
What could be the reason for this ?
Additional Info : This functionality is from a custom web part I developed in sharepoint.
Hi,
If that happens only under IE, then the reason can be failed readyState. In order to open drop-down calendar WebDateChooser checks its location and if it is located not directly in <form> or <body>, then it removes html element of calendar from its current parent and appends it to body. Unfortunately if that happens before page is loaded, then IE raises exception. So, to avoid that, WebDateChooser checks if page is loaded. For that purpose the onload event is used and document.readyState=='complete'. If both of those flags failed, then calendar is not dropped. On other hand I already saw few applications with complex architecture, when after async postback the readyState of IE is permantly falls into 'interactive' state and WebDateChooser never opens calendar. Unfortunately internal logic of WebDateChooser is not able to get around that feature of IE.
Application may disable load-check (and hope that user will not click drop-down while page is loading). To disable that validation application may do following:
<igsch:WebDateChooser ID="WebDateChooser1" runat="server"> <ClientSideEvents InitializeDateChooser="WebDateChooser1_InitializeDateChooser"></ClientSideEvents></igsch:WebDateChooser>
Hi Viktor
This is happening in both IE and FF.
So I guess what you suggested here is not applicable in this scenario.
Any thing else I should try.
Thank you.
itrathnasekara,
Did you find anything related to this issue? I am facing same thing. I have several dropdown and buttons along with webdate chooser in an Update Panel.
First time webdatechooser shows calendar dropdown but if i click on dropdown or button and if page is postback then WebDateChooser is not showing dropdown.
Viktor could you please guide me regarding the issue?
Thanks
Agni
Hello,
I have the same problem (using version 6.3.20063.1061).
Are there hotfixes ???
I am having the similar issue when using the WebDateChooser in WebGrid being rendered in an <iframe>. Drop down calendar briefly appears and then disappears and subsequent attempts to display calendar does not work... for some reason, the calendar is triggered to be closed... Please help!!! We are using version 8.3.20083.2021.
found a work around - for the chooser, on AfterDropdown event, call the setVisible method with "true" as shown below.
[datechooser].setVisible(true);
I'm having a similar issue but it only seems to occur in ie and on the first hit - subsequent click on the dropdown button shows the date chooser, as if some switch gets set on the first hit. I tried setting "igdrp_all._loaded = true;" on the InitializeDateChooser event. I am using 8.3.20083.2039, and the datechooser is referenced by a webgrid which is in a web page hosted by a webtab. Any help would be appreciated, thanks.