This is a migrated thread and some comments may be shown as answers.

newbie - close window from code-behind?

4 Answers 240 Views
Window
This is a migrated thread and some comments may be shown as answers.
matt
Top achievements
Rank 1
matt asked on 23 Oct 2008, 08:48 PM
hello,

i am just starting w/ the RadWindow. im using it to load a .ASPX page up, in which the user does some things and clicks a Save Button.

if the operation is successful, how do i close the RadWindow from its source .ASPX's code-behind?


thanks,
matt

4 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 24 Oct 2008, 09:48 AM
Hello Matt,

You can go through the following link which elaborates on how to close a window automatically on clicking a button in it, without the user explicitly closing it. Also refer to the kb article link provided within this link. you might find out more information.
Postback And Close On Reload

Thanks
Princy.


0
matt
Top achievements
Rank 1
answered on 24 Oct 2008, 04:02 PM
perfect. thanks!
0
Konrad
Top achievements
Rank 1
answered on 22 Feb 2011, 12:18 PM
I use a navigation url to set content of my window. Content of it is in RadAjaxPanel and exapmle you showed is not working with RadAjaxPanel. Is any way to solved it ?
0
Svetlina Anati
Telerik team
answered on 23 Feb 2011, 02:48 PM
Hi matt,

 Would you please add the closing script to the RadAjaxPanel's ResponseScripts collection? This should fix the problem.

In case you need further assistance, please prepare a sample, fully runnable page and share its source here along with detailed explanations and we will help you achieve what you need.

Best wishes,
Svetlina
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Window
Asked by
matt
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
matt
Top achievements
Rank 1
Konrad
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or