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

[Solved] General advice needed

1 Answer 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alex White
Top achievements
Rank 1
Alex White asked on 02 Jul 2009, 04:40 AM
Hi all,

I am just about to re-write our web portal (200+ aspx pages) from the ground up, the technologies I am going to use are VS 2010, SQL 2008, ASP.NET AJAX (latest version might consider the beta!), IIS7. I am going to use master pages, user controls within the pages, a lot of the pages are going to have tabstrips, grids, treeviews, panels, and I want to use AJAX for the best performance. My first question is what do you think is the best way to use AJAX, e.g. Manager on the master page and proxies on the content pages, or just a manager on the content, I have nothing on the master page that needs AJAXing, that is all on the content pages. The next question is the use of user controls within an AJAX environment, again is it better to lots of user controls each attempting to do their own bit of AJAX with their own AJAX manager or again just use the proxies. Is it better (from a performance perspective) to not use user controls and attempt to get everything written directly into the content pages rather than lots of user controls.

A typical layout is going to be

Master page,
    Content page,
        Tabstrip,
            Usercontrol
            Usercontrol
            Usercontrol

or

Master page,
    Content page,
        Treeview,
            Usercontrol
            Usercontrol


any advice is welcomed.

Thanks


Alex

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 06 Jul 2009, 08:28 AM
Hi Alex,

The correct way to use Telerik's Ajax controls is to place a RadAjaxManager in the MasterPage (or main ASPX page) and RadAjaxManagerProxy controls in the content pages (or user controls) where needed. This is because only one RadAjaxManager instance can exist at a time.

http://www.telerik.com/help/aspnet-ajax/ajax-manager-proxy.html

As for your second question - this is a rather general ASP.NET performance question. In my opinion, it is more important how many controls you have on a page and the loaded user controls, rather than how many user controls you have.

Regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Alex White
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or