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

TreeList and Ajax not working correctly with AjaxControlKit

2 Answers 37 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
deval
Top achievements
Rank 1
deval asked on 04 Feb 2011, 07:13 PM
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 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 09 Feb 2011, 05:45 PM
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.
0
Maria Ilieva
Telerik team
answered on 09 Feb 2011, 05:45 PM
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.
Tags
TreeList
Asked by
deval
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or