Solved

Telerik Radgrid select column

Posted on 2016-10-11
5
43 Views
Last Modified: 2016-11-14
I am having trouble setting all selectcolumns to selected in a RadGrid

My code is setting ONLY the last row to selected as you can see in my screen print

This is my HTML
<telerik:GridClientSelectColumn UniqueName="ChkCharge" HeaderText="Charge">
</telerik:GridClientSelectColumn>

Open in new window


This is my code in the pre-render sub
The TryCast does nothing whether I set the text or set to checked
For Each item As GridDataItem In rgMyCustomers.MasterTableView.Items
    item.Selected = True
    ' TryCast(item("ChkCharge").Controls(0), CheckBox).Text = "LL"
Next

Open in new window


SCreen Print
0
Comment
Question by:lrbrister
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 13

Expert Comment

by:Naman Goel
ID: 41839792
so are you trying to set the checkbox value or just select the row.
0
 

Author Comment

by:lrbrister
ID: 41840058
The checkbox only
0
 

Accepted Solution

by:
lrbrister earned 0 total points
ID: 41880597
I have found my own solution.
It was the simple matter of moving a nested function to within a loop
0
 

Author Closing Comment

by:lrbrister
ID: 41886026
Found my own solution
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Good forum hosting with good privacy policy 3 30
GUID's in SQL Server 4 29
SSIS Column mapping 5 40
2015 RAM HEMI 1500 5.7 L V8 5 31
As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
Gift cards are not a new concept - it's been around for a very long time.  Undoubtedly, over the past you have received such a card or purchased one for a friend or relative.  Are you aware that you've been feeding the machine?  If not, read on :)
Viewers will learn the different options available in the Backstage view in Excel 2013.
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question