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

5 posts, 0 answers
  1. Helene Lach
    Helene Lach avatar
    15 posts
    Member since:
    Nov 2009

    Posted 01 Nov 2010 Link to this post

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

    Posted 02 Nov 2010 Link to this post

    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

  3. Helene Lach
    Helene Lach avatar
    15 posts
    Member since:
    Nov 2009

    Posted 02 Nov 2010 Link to this post

    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?
  4. Helene Lach
    Helene Lach avatar
    15 posts
    Member since:
    Nov 2009

    Posted 02 Nov 2010 Link to this post

    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.
  5. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 08 Nov 2010 Link to this post

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