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

[Solved] AjaxSettingCreating

1 Answer 167 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Remko
Top achievements
Rank 1
Remko asked on 28 Feb 2008, 08:19 PM
If I have a complex page with many initiators and many updated controls, is there any benefit in cancelling the event (e.Cancelled = true) for all updates that i know are not going to occur, or does the ajaxmanager do this for me?
I see the AjaxSettingCreating/Created event fired for each AjaxManager setting and wondered what the point of it was? My assumption would of been that only those updated controls for the particular initiator would fire this event...?
At the moment my single page will have 6ish 3/4 screen panels, with only one being visible at one time, so I know that all defined initator/updates pairs for the 'other' 5 panels are never required.

Thanks,
Kevin.  

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Mar 2008, 01:48 PM
Hi Kevin,

Currently the Render() method of all dynamically created UpdatePanels is being invoked and that is the reason that all AjaxSettings are created. Our developers are investigating an approach where this would not be necessary (therefore significantly reducing performance penalties), but have not been able to make this work for all cases yet, although 90% of them work just fine. If we do not figure out a way to make this working as it should we might expose a property for people who want to explicitly disable it.

Thank you for your feedback!

All the best,
Steve
the Telerik team

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