TreeList and Ajax not working correctly with AjaxControlKit

3 posts, 0 answers
  1. deval
    deval avatar
    6 posts
    Member since:
    Sep 2010

    Posted 04 Feb 2011 Link to this post

    Hi,

    it took me some while to figure out what was wrong.
    Scenario:
    RadTabStrip with RadMultiPage, one tab dynamically loads a usercontrol which contains a TreeList.
    Important to note here is that the property ClientIdMode of the TreeList is set to Static!

    When I expand one column in the TreeList, the loading panel is shown (AjaxManager is on the same page with RadTabStrip).
    The second action on the treelist though, refreshes the whole page. 
    I tried to contain the problem and created a new web site project, but it worked as I expected,  until I referenced the AjaxControlKit, without using any controls though. 

    If I change the ClientIdMode of the TreeList to AutoId, it works as expected. This problem might even occur without loading the usercontrol dynamically
    I created a sample project, where can I upload it?

    Forgot to add the version info:
    • AjaxControlKit  4.1.40412.0 
    • Telerik.Web.UI  2010.3.1317.40

    Cheers Deval
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 09 Feb 2011 Link to this post

    Hi deval,

    Please note that the ClinetIDMode="Static" is not applicable for data bound control. Therefore I would suggest you to use "predictable" mode in your application. Predictable is the most appropriate value set to a data bound control. Please revise the official MSDN Documentation: http://msdn.microsoft.com/en-us/library/system.web.ui.clientidmode.aspx.

    All the best,
    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 09 Feb 2011 Link to this post

    Hi deval,

    Please note that the ClinetIDMode="Static" is not applicable for data bound control. Therefore I would suggest you to use "predictable" mode in your application. Predictable is the most appropriate value set to a data bound control. Please revise the official MSDN Documentation: http://msdn.microsoft.com/en-us/library/system.web.ui.clientidmode.aspx.

    All the best,
    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top