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
865
InitializeLayout and InitializeTabs for UltraWebGrid and UltraWebTab
posted

Hi -

I have an UltraWebTab, where one of the tabs contains a UserContol located in a ContentTemplate, as follows:

<igtab:Tab Key="tabDocuments" Text="Documents">
   <ContentTemplate>
    <uc1:ucDocuments id="UcDocuments1" runat="server"></uc1:ucDocuments>
   </ContentTemplate>
   <Style CssClass="tabs">
   </Style>
   <ContentPane></ContentPane>
  </igtab:Tab>

In the UcDocuments1 user control, I have an UltraWebGrid.

I've attached an InitializeTabs method to the UltraWebTab control, and an InitializeLayout method to the  UltraWebGrid control, using the ClientSideEvents functionality.  Both methods work beautifully.

However.

I've noticed that the UltraWebTab's InitializeTabs method is called after the UltraWebGrid's InitializeLayout method is called.  I would've expected the UltraWebGrid's InitializeLayout method to be called after the UltraWebTab's InitializeTabs event, not before, as the tab appears first on the page, then the grid.  Is there a way to fire the grid's InitializeLayout after the InitializeTabs event?