Webpart always reloads

3 posts, 0 answers
  1. Jan
    Jan avatar
    9 posts
    Member since:
    Nov 2010

    Posted 03 Nov 2010 Link to this post

    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. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 03 Nov 2010 Link to this post

    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
  3. Jan
    Jan avatar
    9 posts
    Member since:
    Nov 2010

    Posted 03 Nov 2010 Link to this post

    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
Back to Top