Jun 29, 2010, 3:50 PM
Show Modal window from a User Control
Hi,
I am trying to open a Modal window from a User Control which has the Update Panel on the main Page.
i am getting the Error "Error: 'Ext' is undefined".
following is the code
But i want to keep the Update Panel on the main page.
Please some one help me to fix this.
Thanks in advance,
Prabhakar
I am trying to open a Modal window from a User Control which has the Update Panel on the main Page.
i am getting the Error "Error: 'Ext' is undefined".
following is the code
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<ext:ScriptManager ID="ExtScriptManager" runat="server" />
<ext:Window ID="DetailsPopup" runat="server" Height="620px" Width="930px" BodyStyle="padding: 6px; background-color: #fff;"
Collapsible="false" Modal="true" Showonload="false" Icon="Information" Draggable="true"
AnimCollapse="true" Enabled="false" Resizable="false" Title="Permit Cost Details">
<AutoLoad Mode="IFrame" NoCache="true" ShowMask="true" MaskMsg="Loading..." />
</ext:Window>
following is the code behindDetailsPopup.AutoLoad.Url = "SearchDetails.aspx?query=" + SearchTextBox.Text
DetailsPopup.Show()
It is working fine if i place the Update Panel in the User control.But i want to keep the Update Panel on the main page.
Please some one help me to fix this.
Thanks in advance,
Prabhakar