Below is the structure where we are loading usercontrols in ContentPanel,
<telerik:RadAjaxPanel ID="ID1" runat="server" LoadingPanelID="LoadingPanel1"
ClientEvents-OnRequestStart="conditionalPostback">
<telerik:RadSplitter ID="Splitter1" runat="server" Orientation="Horizontal"
Skin="Windows7" Width="100%" VisibleDuringInit="false" OnClientLoad="OnClientLoad">
<telerik:RadPane ID="radPaneTab1" runat="server" Height="27px">
<telerik:RadTabStrip OnClientTabSelecting="onTabSelecting" ID="rtsOrder" SelectedIndex="0"
runat="server" OnTabClick="rtsOrder_TabClick"
Skin="Windows7" CausesValidation="false">
</telerik:RadTabStrip>
</telerik:RadPane>
<telerik:RadPane ID="radPaneMultiPage" runat="server" Scrolling="Y">
<asp:Panel ID="ContentPanel" runat="server" />
</telerik:RadPane>
</telerik:RadSplitter>
</telerik:RadAjaxPanel>
we are loading the user controls by code in the content panel. we have RADgrid in one of the user control and that has all the javascript functions for command,hierarchy and grid created. if i load it directly at first time then it loads fine
but if i load some other tab first and then try to switch to that tab which has grid then it gives error of that it cant find function of RADgrid for gridcreated, command and hierarchy.
need HELP!!! :)
<telerik:RadAjaxPanel ID="ID1" runat="server" LoadingPanelID="LoadingPanel1"
ClientEvents-OnRequestStart="conditionalPostback">
<telerik:RadSplitter ID="Splitter1" runat="server" Orientation="Horizontal"
Skin="Windows7" Width="100%" VisibleDuringInit="false" OnClientLoad="OnClientLoad">
<telerik:RadPane ID="radPaneTab1" runat="server" Height="27px">
<telerik:RadTabStrip OnClientTabSelecting="onTabSelecting" ID="rtsOrder" SelectedIndex="0"
runat="server" OnTabClick="rtsOrder_TabClick"
Skin="Windows7" CausesValidation="false">
</telerik:RadTabStrip>
</telerik:RadPane>
<telerik:RadPane ID="radPaneMultiPage" runat="server" Scrolling="Y">
<asp:Panel ID="ContentPanel" runat="server" />
</telerik:RadPane>
</telerik:RadSplitter>
</telerik:RadAjaxPanel>
we are loading the user controls by code in the content panel. we have RADgrid in one of the user control and that has all the javascript functions for command,hierarchy and grid created. if i load it directly at first time then it loads fine
but if i load some other tab first and then try to switch to that tab which has grid then it gives error of that it cant find function of RADgrid for gridcreated, command and hierarchy.
need HELP!!! :)