Hi Bibhudutta,
You can use the
OnClientPageLoad event of the rwMain to capture the page loaded event of the page loaded inside it. Note that this is the client-side event that is fired once the page is completely loaded on the client. Then you need to get a reference to the controls inside the left RadWindow that you wish to modify. In case they are in its ContentTemplate they are available on this page and this becomes a matter of obtaining the reference, which can be done from the user control - you can store global JavaScript variables that reference the desired controls. Note, that generally this scenario defeats the purpose of user conrtols - all this JavaScript that is needed will make them difficult to reuse and multiple instances on the same page will not function properly. In case you load yet another page in the left RadWindow you need to call a function from that page that will do the job, as you cannot otherwise access iframes. How to do this is explained
here. Now, in case you are referring to the server-side Page_Load event of the page loaded in the right-hand side RadWindow - this is not possible. You cannot access different pages in the code-behind. You could create a global class to store needed data and then initiate an AJAX request to reload your UC and load the data from this class for example, yet cross-page communication is a general task that is not related to the RadControls. You could also inject a script that will invoke a function from this page, obtain needed data, call a function on the parent page (where the splitter is) that will, again, access the left pane as described above.
Greetings,
Marin
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license!
Book your seat now >>