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

[Solved] Navigating with master/content pages

1 Answer 143 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Polaris431
Top achievements
Rank 1
Polaris431 asked on 20 Aug 2007, 10:40 AM
I am using a PanelBar on a master page and use it to navigate the content pages. I want to update only the content part of the page. I know that with the Telerik Ajax (for ASP.NET), there is an example that shows this working. But I am using Microsoft's Ajax and I don't have an example that shows how this is done. The following was posted at:

http://www.telerik.com/community/forums/thread/b311D-mkakk.aspx

"The Prometheus AjaxManager has never been intended to work from nested pages, i.e. user controls or content pages. You need to place it on the MasterPage and set the AjaxSettings relations from there:..."

If I understand correctly, the AjaxManager cannot be put on a content page. That is exactly where I had it on several pages. If I try to move it to the Master page, I have a problem with javascript on content pages. Certain portions of javascript need to make reference to the AjaxManager in order to carry out an AjaxRequest method. However once the AjaxManager has been moved over to the Master page, the content page cannot compile because it now references the AjaxManager that no longer is available on the content page.

First off, the posting above says that the AjaxManager was "never been intended to work from nested pages", yet it does. So if does work, it would be nice to know how to refresh just the content holder stuff. If Telerik doesn't support this, please provide an example of how to do it using Microsoft's Ajax and how to handle my Javascript problem.

Thanks
Johann


1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 20 Aug 2007, 10:54 AM
Hi Polaris431,

It seems you have not read through the whole article you have pointed us to. You can use AjaxManagerProxy in the content pages - this control did not exist by the time this reply has been posted.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Polaris431
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or