Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Telerik Radgrid select column

Posted on 2016-10-11
5
Medium Priority
?
71 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

Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

618 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