ASP.NET Splitter - Knowledge Base

« Back to Knowledge Base list

Access the frame loaded by Splitter

Q:

How can I access the frame loaded by Splitter? I want call a client function in that frame from parent!

A:

You just need to use a client method called GetWindow.Please take a look over this documentation page.

To call your method inside the page loaded in a Splitter panel you need to use:
   Splitter1.GetWindow("RightContent").YourClientMethod();
where
  • Splitter1 is the client id of your Splitter control,
  • RightContent is the panel where you loaded the page,
  • YourClientMethod is the client method you need to call.

Note:
If inside the panel container is not loaded another document using either Url or loadPage, or the page loaded is from another domain server, the method returns the owner window.


"You did great work,it is a magic and thank you for that."

Fahad S Alenazi
King Faisal Specialist Hospital & Research Centre