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

UnderScore Problem in ID of the RadGrid

5 Answers 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Velkumar
Top achievements
Rank 2
Velkumar asked on 18 May 2011, 06:20 AM
Hello,
             I have a RadGrid in my page. The ID of the RadGrid is "_uxSuccession". if the id has underscore in front then the grid will not work properly that is we cannot select Row in the Grid. If the Id will not contain underscore in front then the Radgrid will  work properly that is we can select the row of the rad grid. If the id contain underscore in front then no row click event will arise after clicking the row. please help me as soon as possible.

Thanks,
Velkumar

5 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 23 May 2011, 10:00 AM
Hello Velkumar,

I tried to reproduce this problem but failed. Please test the attached demo and let me know what is missing.

Regards,
Daniel
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
Velkumar
Top achievements
Rank 2
answered on 27 May 2011, 12:23 PM
Hello Daniel,

               I used this  Grid in SharePoint .I cant understand why u attached the web config file.  The above mentioned problem will arise only if  the Grid's ID has "_" (UNDERSCORE) in front that is for Example  "_GridStudent"
0
Tsvetoslav
Telerik team
answered on 31 May 2011, 12:48 PM
Hi Velkumar,

Are you using SharePoint 2010? We no longer support SharePoint 2007 and I will be having difficulty testing your scenario?

Regards,
Tsvetoslav
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
Velkumar
Top achievements
Rank 2
answered on 02 Jun 2011, 05:43 AM
Hello,

         I have using  Sharepoint2007. First time , If you provide a ID for the Grid  with "_"(underscore ) in front of the ID there is no problem. If the Id of the Grid has no Under Score  ("_")  at first then suppose you rename this ID with under score ("_") in front of the this ID then the Grid will not work (Problems mentioned above will arise.)

Thanks
Velkumar.
0
Tsvetoslav
Telerik team
answered on 07 Jun 2011, 06:57 AM
Hello Velkumar,

Do take into account that you should not be chaning the grid's ID dynamically, you should assign the ID initially and leave it as it was in the first place. If under SharePoint 2007 and underscore in front of the gird's ID is problematic, then just use and ID without an underscore. 

Regards,
Tsvetoslav
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
Grid
Asked by
Velkumar
Top achievements
Rank 2
Answers by
Daniel
Telerik team
Velkumar
Top achievements
Rank 2
Tsvetoslav
Telerik team
Share this question
or