Call AjaxRequest in another splitter page

2 posts, 0 answers
  1. Jin Developer
    Jin Developer avatar
    24 posts
    Member since:
    Jul 2005

    Posted 06 Nov 2009 Link to this post

    I have a Default.aspx page, it contains a splitter control which divides the page to two parts, the leftpane and mainpane. The leftpane ContentUrl is set to LeftNav.aspx and mainpane ContentUrl is set to Main.aspx.

    My question is, how do I call the javascript ajaxrequest that resides in LeftNav.aspx from Main.aspx? Basically I want certain action inside Main.aspx page to trigger an Ajax request on the LeftNav.aspx.

    I know I can always use javascript function set_contentUrl('LeftNav.aspx') to refresh the LeftNav.aspx page URL, but the page refresh doesn't look as good as an Ajax request where you don't see the whole LeftNav refreshed.

    Is this doable?

    Thanks!
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 10 Nov 2009 Link to this post

    Hi Jin Developer,

    I already answered your support thread and for your convenience and for others who might have the same requirements I pasted it below:

    You can find a detailed KB article which shows what you want to achieve below:

    http://www.telerik.com/support/kb/aspnet-ajax/splitter/use-ajax-request-to-update-part-of-an-external-page-loaded-in-a-radpane.aspx

    Note, that the article is for RadSplitter for ASP.NET AJAX while you have noted that you use RadSplitter for ASP.NET. If so, you should use the very same approach but to use the corresponding client methods (the main difference is in the casing and this si important since javascript is case-sensitive) which you can find below:

    http://www.telerik.com/help/aspnet-ajax/splitter-changes-and-backwards-compatibility.html

    I noticed that in this thread you have selected RadSplitter for ASP.NET AJAX in difference from your support thread. If you are using the ajax version, you can directly use the KB article approach.




    Greetings,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top