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

'Multiple controls with the same ID' Error with SPRadGrid Web Part

4 Answers 122 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Helene Lach
Top achievements
Rank 1
Helene Lach asked on 01 Nov 2010, 10:06 PM
I have SharePoint 2010. I have installed web parts for SharePoint using the Q2 2010 Telerik AJAX Controls for SharePoint 2010 msi install file. However, when I try using the web part to a page, I get the following error: 

Multiple controls with the same ID 'hlSPUserControl' were found. FindControl requires that controls have unique IDs.

Using the browser, I can add and configure the web part, but if I try to use it (for ex. sort a column) or edit the web part again, I invariably get the error. Also, if I try adding the web part in SharePoint Designer, I get an "Error Rendering Control" error (not sure if this is normal or not).

I tried reparing the install - same result.

What could be going on? Is there a way I can set the control ID so I can avoid the error?

4 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 02 Nov 2010, 11:10 AM
Hello Helene,

We received several reports for this issue before and it should be addressed in the latest official release Q2 2010 SP2 (2010.2.929) of our AJAX controls for SharePoint 2010. Can you upgrade to this version to see whether this helps?

Additionally, you may be interested in the new features we introduced for our SPRadGrid SharePoint 2010 web part with the Q3 2010 Beta release (see this blog post for details). You can give the Beta a spin and share your feedback.
 
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
Helene Lach
Top achievements
Rank 1
answered on 02 Nov 2010, 05:28 PM
Sebastian,

Thank you very much for your answer. I tried 2010.2.929 and got the same error. However the Q3 beta worked!

I noticed a new property called "Binding Mode." If I left the value to its default ("SPList") I ended up with a grid with no data. Changing it to "SPListSingle" yielded the correct data. Could you please explain the difference and what the property is used for?
0
Helene Lach
Top achievements
Rank 1
answered on 02 Nov 2010, 07:52 PM
Never mind, I figure out how to use the SPRadGrid Designer with Binding Mode = "SPList" (for those interested, the explanation is in the sample site http://sharepoint.telerik.com/aspnet-ajax/web-parts/Pages/Telerik-SPRadGrid-Hierarchy.aspx (login sp2010visitor/sp2010visitor).

I have another issue though. I cannot figure out how to make the sorting/filtering work when binding to an SP list. My list has about 500 records. If I bind to a view which is paged, then the sorting/filtering seems to work only on the data in the current page, which is kind of useless. If I remove the paging in the view itself, then sorting/filtering works but the entire data set needs to load every time the page is loaded, and performance is terrible. Enabling or disabling the paging at the web part level seems to have little effect. How can I make it all work together so I can use sorting/filtering on a large data set?

Thanks in advance for taking the time to answer.
0
Tsvetoslav
Telerik team
answered on 08 Nov 2010, 09:43 AM
Hello Helene,

Please, stand by for the Q3 release which is just around the corner. Those two issues have already been addressed.

Regards,
Tsvetoslav
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
Tags
WebParts for SharePoint
Asked by
Helene Lach
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Helene Lach
Top achievements
Rank 1
Tsvetoslav
Telerik team
Share this question
or