sharepoint 2010 RadGrid with ajax

4 posts, 0 answers
  1. Kuo
    Kuo avatar
    2 posts
    Member since:
    May 2013

    Posted 14 May 2013 Link to this post

    Hi All,

    I customize a webpart in SharePoint 2010.

    My webpart have a RadGrid to edit data from the DB.

    And I put three dropdownlist controls in the grid row.

    The problem is that

    Everything is fine. After I add the ajaxManager scripts, than postback the page, the page display word doesn’t change.

    Please do help me resolving this. I am using the trial version of Telerik.Web.UI.dll 2013.1.417.35

    Please do send me a sample which does the similar functionality.

    Thanks in advance.

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 15 May 2013 Link to this post

    Hello Kuo,

    Please ensure that you are adding the RadAjax correctly in the SP environment as there are some specifics which need to be followed. See the online resources below for more information on this matter:
    http://www.telerik.com/help/aspnet-ajax/moss-create-ajax-enabled-sharepoint-webpart-radcontrols.html
    http://www.telerik.com/community/forums/sharepoint-2010/integrate-ajax-controls/telerik-ajax-issue-with-sharepoint-2010.aspx


    All the best,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kuo
    Kuo avatar
    2 posts
    Member since:
    May 2013

    Posted 19 May 2013 Link to this post

    Dear Sir,

    Thanks for your reply.

    We found that SharePoint 2010 has had a default ajaxManager. We can’t use the second one RadajaxManager that the RadControls uses.

     

    Do you know how to resolve this issue? Please help me.

    Thanks in advance.

  5. Marin
    Admin
    Marin avatar
    1043 posts

    Posted 22 May 2013 Link to this post

    Hi,

     Can you specify what kind of ajax manager the Sharepoint uses by default in this case and the exact exception that has been thrown? Normally RadAjaxManager does not have compatibility issues with other controls, unless you have already explicitly added the same control in master page.
    Also by following the code-behind approach of adding the RadAjaxManager to the web part class as shown in this forum thread the control will be added to the page only if it does not already exist there, so no duplication issues should arise in this case.
    Another similar common error might happen if you are trying to add another script manager control when the master page already has one. But this is not directly related to the ajax manager control. In this case you simply avoid adding RadScriptManager if the master page already has script manager control.

    Regards,
    Marin
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top