Sep 22, 2008, 3:29 PM
UpdatePanel problem
With the 0.5.4 version, I have the following problem, when nesting UpdatePanels:
When I call*UpdatePanel_Aroundwindow.Update() server-side, it works, but after doing so clicks on GridView's pager or the Button1 result in a javascript error:*Microsoft JScript runtime error: 'Ext.fly(...)' is null or not an object.
Is UpdatePanel nesting a "don't try this at home" thing? The above scenario does not illustrate my use-cases: UpdatePanel around ext:Window or ext:Tabpanel is meant to update Window's title, create/hide/modify Tabs (in other words, to update the container properties), while the internal is to update the content. Am I taking an erroneous approach or is this a known issue with 0.5.4?
Thank you!
<asp:UpdatePanel ID="UpdatePanel_AroundWindow" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
** *<ContentTemplate>
** * * *<ext:Window ID="Window1" runat="server" Collapsible="true" Icon="Application"*
** * * *Title="Title" Height="200px" Width="800px" CloseAction="Hide"*
** * * *Showonload="False">
** * * * * *<Content>
** * * * * * * *<asp:UpdatePanel ID="UpdatePanel_WindowContent" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
** * * * * * * * * *<ContentTemplate>
** * * * * * * * * * * *<asp:GridView ID="GridView1" runat="server" AllowPaging="True"*PageSize="5" />
** * * * * * * * * * * *<asp:Button ID="Button1" runat="server" Text="Button" /><asp:Label ID="Label1" runat="server"/>
** * * * * * * * * *</ContentTemplate>
** * * * * * * *</asp:UpdatePanel>
** * * * * *</Content>
** * * *</ext:Window>
** *</ContentTemplate>
</asp:UpdatePanel>
When I call*UpdatePanel_Aroundwindow.Update() server-side, it works, but after doing so clicks on GridView's pager or the Button1 result in a javascript error:*Microsoft JScript runtime error: 'Ext.fly(...)' is null or not an object.
Is UpdatePanel nesting a "don't try this at home" thing? The above scenario does not illustrate my use-cases: UpdatePanel around ext:Window or ext:Tabpanel is meant to update Window's title, create/hide/modify Tabs (in other words, to update the container properties), while the internal is to update the content. Am I taking an erroneous approach or is this a known issue with 0.5.4?
Thank you!