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

parent and chile windows

1 Answer 53 Views
Window
This is a migrated thread and some comments may be shown as answers.
Asiq Raja
Top achievements
Rank 1
Asiq Raja asked on 01 Jun 2011, 10:20 AM
hi,

how to hide parent radwindow behaviours when open child radwindow in javascript and how to enable parnet radwindow behaviour when close child radwindow


regards,
asiq

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 03 Jun 2011, 01:40 PM

Hello Asiq,

You can do that by calling a JavaScript function that resides in the main page and modifies the behaviors of the parent RadWindow by using its set_behaviors() method. You will call this function when the child window is opened and when it is closed with different arguments so that different behaviors are set.

For your convenience I prepared and attached a simple project demonstrating this approach.



Best wishes,
Marin
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Window
Asked by
Asiq Raja
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or