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

Do we have client side load or any other event for radpane placed inside rad splitter

1 Answer 60 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Varun
Top achievements
Rank 2
Varun asked on 03 Jul 2012, 01:16 PM
Hi 

Below is wire frame of my asp.net page.

Rad Splitter
--------------------------------------------------------------------------------
| |     |
| |     | 
| |     | 
| Left pane | Right pane     | 
| |     | 
| |     | 
| |     | 
-------------------------------------------------------------------------------- 


Contents in left pane details:-
In it I am having one radtoolbar 
On clicking any buttons radtoolbar , I am using content URL properties set_contentURL of rightPane.

Scenarios:-
When first time page gets opened in rightPane it is not having "O" querystring parameter.
 But when use navigates(redirects to another page right Pane) further in page opened in rightPane  "O" querystring parameter will come with some value (let's say O=1). When user navigates to another page again then O will get changed to any other number.

What I want?
I need to store O=1 in hiddenField in aspx page.

Initially I was using iFrame inside rightPane and I was able to achieve it by using iFrame's client side onLoad evnet.

But as per telerik help rightPane  becomes iFrame automatically  by using set_contentUrl property of rightPane from leftPane links.

Problem:-

I am not able to find clientside load event for rightPane.

Please help me to proceed further ASAP.







1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 05 Jul 2012, 04:15 PM
Hi Varun,

You can get reference to the <iframe> element inside RadPane using the getExtContentElement() client-side method, e.g.:
var pane = $find("<%=RadPane1.ClientID%>");
var paneIframe = pane.getExtContentElement()

Then you can use this <iframe> element to assign a handler to its onload event.

More detailed information regarding RadSplitter and its child controls is available in our online documentation.

Greetings,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Splitter
Asked by
Varun
Top achievements
Rank 2
Answers by
Dobromir
Telerik team
Share this question
or