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
60
Grid-embedded WebDateChooser shows briefly in page before before Grid is rendered
posted

Hi I have a WebDateChooser (WDC) embedded in a UltraGridCell in a WebForms page.  When the page is rendering, I see the WDC pop up for a second kind of under the left side of the Grid and then disappear.  After that, everything works fine with using the control from inside the Grid.  I think this a timing issue.  I've tried a few different ways of fiddling in JS with the Visible property of the WDC.  No luck yet.  Wondering if someone can help me.  Here's the code.

 Here's the Column Def:

 <igtbl:UltraGridColumn BaseColumnName="RequestedDate" DataType="System.DateTime" Hidden="False" Type="Custom" EditorControlID="WebDateChooser1" AllowUpdate ="Yes" IsBound="True" Key="RequestedDate">

           <Header Caption="Requested Date">

                <RowLayoutColumnInfo OriginX="4" />

           </Header>

           <Footer>

               <RowLayoutColumnInfo OriginX="4" />

            </Footer>

</igtbl:UltraGridColumn>

Here's the WDC Def:

 <igsch:WebDateChooser id="WebDateChooser1" runat="server" Width="200px" Height="150px" Font Size="8pt" Visible="True" NullDateLabel="" Text="Null" Font-Names="Verdana" ShowDropDown="True">

     <EditStyle Font-Size="8pt" Font-Names="Verdana"></EditStyle>

     <ClientSideEvents EditKeyDown="WebDateChooser1_EditKeyDown" />

     <CalendarLayout DayNameFormat="FirstLetter" FooterFormat="" ShowNextPrevMonth="False" VisibleMonth="2009-01-01" ShowTitle="False" ShowFooter="False">

         <DayStyle Font-Size="9pt" Font-Names="Arial" BackColor="White"></DayStyle>

          <SelectedDayStyle ForeColor="Black" BackColor="Silver"></SelectedDayStyle>

          <CalendarStyle Font-Size="8pt" Font-Names="Verdana"></CalendarStyle>

          <DayHeaderStyle ForeColor="#A2A1A1" BackColor="White"></DayHeaderStyle>

          <TitleStyle BackColor="White"></TitleStyle>

      </CalendarLayout>

     <DropDownStyle Font-Size="8pt" Font-Names="Verdana"></DropDownStyle>

</igsch:WebDateChooser>

Thank you for your help..

Best,

Joel