Callback Type Function for External Content

2 posts, 0 answers
  1. rdochert
    rdochert avatar
    82 posts
    Member since:
    Oct 2012

    Posted 22 Jun 2010 Link to this post

    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.

  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 24 Jun 2010 Link to this post

    Hi Rob,
    You can use the approach, demonstrated in the following knowledge base article to access the parent page:

    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,
    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
Back to Top