Show Modal window from a User Control

  1. #1

    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

    <%@ 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" Show&#111;nload="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 behind

    DetailsPopup.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
  2. #2

    RE: Show Modal window from a User Control

    Can you post some example code in files?

Similar Threads

  1. Replies: 5
    Last Post: Apr 20, 2012, 6:20 AM
  2. Window and User Control
    By gpcontreras in forum 1.x Help
    Replies: 3
    Last Post: Mar 30, 2012, 11:47 PM
  3. Replies: 2
    Last Post: Feb 06, 2012, 9:06 AM
  4. [CLOSED] Maximize error on Modal Window in User Control
    By jwf in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 13, 2011, 4:24 PM
  5. Replies: 6
    Last Post: Jan 26, 2009, 10:06 AM

Posting Permissions