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

Callback Type Function for External Content

1 Answer 42 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
rdochert
Top achievements
Rank 1
rdochert asked on 23 Jun 2010, 03:12 AM
hi
i'm using a splitter as a way to edit web pages in a CMS.
in one pane, i have a treeview of the web site. in the other pane, as an example, i might have an external page loaded which allows the user to modify the properties of the web page, such as it's title. when they have modified the properties, i want to refresh the treeview. how can i do this? previously, i was using radwindow and the callback functionality there to tell the host page that something had changed. i'd like to be able to do the same thing now with splitter. 
i.e. i want the externally loaded page in the splitter pane to be able to tell the page which is hosting the splitter that something has changed.
cheers,
rob

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 24 Jun 2010, 09:10 AM
Hi Rob,
You can use the approach, demonstrated in the following knowledge base article to access the parent page:

http://www.telerik.com/support/kb/aspnet-ajax/splitter/referencing-content-page-in-a-splitter-pane-from-the-parent-page-and-vice-versa.aspx

With RadWindow, you mention that you used the callback function of the window to execute your code, that is, when your user finished modifying the properties he/she closed the window. However, as in the case of RadSplitter, the user does not close the pane, you should use another event. For example, in case you have an Apply button - you can use its client-side click event.

All the best,
Tsvetie
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Splitter
Asked by
rdochert
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or