Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
WebDialog and WebDateChooser not working

I have a simple web page with a single button that brings up a WebDialogWindow. This works fine !!!

Now try putting a WebDateChooser control in the WebDialogWindow. Note the code is :-

<head runat="server">

<title>Dialog Test</title>

<script type="text/javascript">

function WebImageButton1_MouseDown(){var dialog = $find("WebDialogWindow1");;

return false;





<form id="form1" runat="server">


<asp:ScriptManager ID="ScriptManager1" runat="server">


<igtxt:WebImageButton ID="WebImageButton1" runat="server" Text="Test Dialog"


<ClientSideEvents MouseDown="WebImageButton1_MouseDown" />


<cc1:WebDialogWindow ID="WebDialogWindow1" runat="server" Height="300px" Width="400px"

InitialLocation="Centered" Modal="true" WindowState="Hidden" StyleSetName="Default"


<Header CaptionText="Dialog Test" CaptionAlignment="Center">




<igsch:WebDateChooser ID="WebDateChooser1" runat="server" Style="left:30px; top:30px;">








When I run this page in my browser, and click on the button, the WebDialogWindow appears with the blank (Null) WebDateChooser.

Now click on the drop down button to bring up the calendar section of the WebDateChooser, and nothing appears.

Close the WebDialogWindow, and lo and behold the calendar section is now visible !!!

Selecting the date causes the calendar to disappear.

Now again click the button to bring up the WebDialogWindow, and the WebDateChooser has the correct date that was selected above.

This interaction of dialog window and date selection is one which I would use a lot, but alas without a quick fix, looks like I will have to revert to using other controls.

Note I am using the latest 2008 V1 version of NetAdvantage, and VS 2008 (full version, not RTM etc).

Any idea why this is happening ?

Parents Reply Children
No Data