Open form without leaving current page

  1. #1

    Open form without leaving current page

    Hi all.
    I'm totally new on Ext.NET, and I am just loving it!!!

    Here is my doubt. I have the following button code:
                    <ext:Button ID="Button1" runat="server" Text="F1">
                        <DirectEvents>
                            <Click OnEvent="Button1_Click">
                                <EventMask ShowMask="true" MinDelay="500"/>
                            </Click>
                        </DirectEvents>
                    </ext:Button>
    My Button1_Click event is this:
            protected void Button1_Click(object sender, EventArgs e)
            {
                Response.Redirect("form.aspx");
            }
    The idea was to open "form.aspx" as a new child window. Not closing my current browser page, and not openning a new browser page.

    May someone help me with it?
  2. #2
    Hi,

    Quote Originally Posted by Joffre Mota View Post
    The idea was to open "form.aspx" as a new child window. Not closing my current browser page, and not openning a new browser page.
    Well, you can open that "form.aspx" in <ext:Window>.

    Here is some example.
    https://examples1.ext.net/#/Window/B...oLoad_Website/
  3. #3
    Thank you. I saw this example but didn't think that the solution was that simple!

    Problem solved! ;D

Similar Threads

  1. How to close current tab(page)?
    By HzA in forum 1.x Help
    Replies: 7
    Last Post: Feb 21, 2013, 11:55 AM
  2. Replies: 2
    Last Post: Dec 22, 2011, 2:45 PM
  3. Replies: 1
    Last Post: Nov 18, 2010, 5:21 AM
  4. Replies: 1
    Last Post: Nov 10, 2010, 8:47 PM
  5. Export only exporting what is in current page
    By rthiney in forum 1.x Help
    Replies: 1
    Last Post: Oct 13, 2009, 3:32 PM

Tags for this Thread

Posting Permissions