Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6944389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:18:02+00:00 2026-05-27T13:18:02+00:00

When user select a row in Telerik Rad Grid, i want to take fields

  • 0

When user select a row in Telerik Rad Grid, i want to take fields in this row. how to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:18:03+00:00Added an answer on May 27, 2026 at 1:18 pm

    It’s a little tricky, but easy after you’ve done it once.

    Step 1.

    Go to the Radgrid itself and edit the field DataKeyNames=”” (under MasterTableView) and add the datafield you are pulling:

    <MasterTableView ... DataKeyNames="ColumnNameFromSqlGoesHere">
    

    Step 2.

    Decide how you are going to grab the values, on Row Change (SelectedIndexChanged) or on a buttong press with a command attached to it (ItemCommand).

    If row change, per your question:

    protected void RadGrid1_SelectedIndexChanged(object sender, EventArgs e)
    {
        var z = RadGrid1.SelectedItems[0].OwnerTableView.DataKeyValues[RadGrid1.SelectedItems[0].ItemIndex]["ColumnNameFromSqlGoesHere"];
    }
    

    This will assign the variable “z” to the value of the column you have chosen (ColumnNameFromSqlGoesHere) at that given row.

    If you wish to select multiple variables every time you change row you need to add all the values you wish to select under the DataKeyNames=” “. (Seperated by commas). You would then fetch each value via the code seen in the SelectedIndexChanged method:

    var a = RadGrid1.SelectedItems[0].OwnerTableView.DataKeyValues[RadGrid1.SelectedItems[0].ItemIndex]["SecondColumnGoesHere"];
    
    var b = RadGrid1.SelectedItems[0].OwnerTableView.DataKeyValues[RadGrid1.SelectedItems[0].ItemIndex]["ThirdColumnGoesHere"];
    

    Etc… You get the idea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to let the user select one row to use to submit the
I want to let the user select one row to use to submit the
My partialView is Opened in the modal dialog form, User select special row, I
i have list of rows that user select and i want to delete them,
I want to use jquery draggable/droppable to let the user select a group of
I have 5 cells in my tableview. User can select a row which sets
I want to let the user select a value from a combo box, and
I'm using DataTables . I want to let the user select multiple rows and
I have a UITableView for different datas. When the user select one row, then
I want to select a row (that appears multiple times) from a table ONLY

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.