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
625
WebDialog and WebDateChooser not working
posted

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");

dialog.show();

return false;

}

</script>

</head>

<body>

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

<div>

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

</asp:ScriptManager>

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

AutoSubmit="False">

<ClientSideEvents MouseDown="WebImageButton1_MouseDown" />

</igtxt:WebImageButton>

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

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

StyleSetPath="~/ig_res/">

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

</Header>

<ContentPane>

<Template>

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

</igsch:WebDateChooser>

</Template>

</ContentPane>

</cc1:WebDialogWindow>

</div>

</form>

</body>

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
No Data
Reply
  • 250
    posted

    I think the calendar portion is being shown behind the dialog box. I am having the same problem. If your dialog window is small enough you should see it pop up. I am going to submit a support incident for it. I need it fixed quickly.

Children