Closing the Child window on click of the Cancel Button in the window

  1. #1

    Closing the Child window on click of the Cancel Button in the window

    Hello All,
    I have recently upgraded my test application from Ext.Net 2.5.3 to Ext.net 3.0. From there onwards I am unable to closed the window from code behind using the ParentAutoLoad.Hide() method. I have seen in the Change Log that ParentAutoLoad has been replaced with ParentRef.
    Could any one please help me how to closea popup window on click of a button, which is inside the window.

    Thanks & Regards,
    Seshu Kumar.
  2. #2
    Hello,

    Please, try:

    <ext:Button runat="server" Text="Close" OnClientClick="parent.Ext.WindowMgr.getActive().close();" />
  3. #3

    Closing the Child window on click of the Cancel Button in the window

    Thank You Dimitris,
    You helped me a lot. Thanks for your Help.
    Please close the thread.

    Thanks Once again.


    Regards,
    Seshu Kumar

Similar Threads

  1. Closing child window on click of button.
    By rashidsiddique in forum 2.x Help
    Replies: 17
    Last Post: Jun 17, 2014, 12:55 PM
  2. Replies: 2
    Last Post: Apr 04, 2014, 9:25 PM
  3. [CLOSED] Reload Parent TabPanel after closing child window
    By redi in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 04, 2014, 2:07 PM
  4. Closing Window from child page
    By stebag in forum 2.x Help
    Replies: 5
    Last Post: Dec 12, 2013, 4:12 PM
  5. Replies: 7
    Last Post: Feb 09, 2012, 11:17 AM

Posting Permissions