PDA

View Full Version : Closing the Child window on click of the Cancel Button in the window



seshukumar2601
Feb 16, 2015, 8:19 PM
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.

Dimitris
Feb 19, 2015, 3:56 PM
Hello,

Please, try:



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

seshukumar2601
Feb 21, 2015, 12:10 PM
Thank You Dimitris,
You helped me a lot. Thanks for your Help.
Please close the thread.

Thanks Once again.


Regards,
Seshu Kumar