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

Webpart always reloads

2 Answers 56 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 03 Nov 2010, 10:46 AM
Hi guys,

I'm new in developing WebParts for sharepoint 2007. I'm able to create a webpart using the RadControls like the "Demo (How to create a WebPart in sharepoint)" shows. my question:
After a controls fires a request, the whole webpart (onInit,onLoad...) is called so all controls where reloadet. In my oppinion ajax only should update on control not the whole webpart. Furthermore, when a controls fires a request, all webparts on the page will be reloadet.

Is this the way Ajax works with webparts?

Jan

2 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 03 Nov 2010, 01:07 PM
Hello Jan,

How ASP.NET AJAX (and RadAjax in particular) works you can learn from the series of articles on this subject you can find on our blogs. The same concepts are applicable in SharePoint environment.

Best regards,
Sebastian
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
0
Jan
Top achievements
Rank 1
answered on 03 Nov 2010, 01:55 PM
First thanks for you answer.
I read a lot about ajax and radajax thats why i am wondering why the webpart alsways reloads. Is this the normal case, that when i click on a button which is located on an RadAjaxPanel, that the whole webpart init methods are called and after them the handler of the button is called?

Jan
Tags
Ajax
Asked by
Jan
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Jan
Top achievements
Rank 1
Share this question
or