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 9133515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:30:08+00:00 2026-06-17T08:30:08+00:00

I have a RadGrid which produces the following html (hidden ID changes per row):

  • 0

I have a RadGrid which produces the following html (hidden ID changes per row):

<input id="hiddenID" type="hidden" value="c6be9aaf-fc2b-441b-886e-120cfd6a73ee5" name="gvClaimDtSentDate$ctl00$ctl18$Detail50$ctl04$hiddenID">
<a id="c6be9aaf-fc2b-441b-886e-120cfd6a73ee" class="viewBtn" href="#">View</a>
<a class="orderBtn" id="lnkOrder" href="#">My Order</a>

I want to get the hidden ID of a raw on click of lnkOrder. so I have done below but it doesn’t work as it gives me the static/same id for each row:

$('.orderBtn').click(function() {

            var tr = $("#<%=gvDtSentDate.ClientID%> tr");
            var id = tr.find("input[name$=hiddenID]").val();

Can someone help please.

  • 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-06-17T08:30:08+00:00Added an answer on June 17, 2026 at 8:30 am

    Try this:

    $('.orderBtn').click(function() {
        var $tr = $(this).closest('tr'); // gets closest parent tr element to the a
        var id = $tr.find("input[name$=hiddenID]").val();
        // if hidden input is the only one in the row you could simplify this to:
        // var id = $tr.find("input").val();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a RadGrid which on RowClick should send a specific value to the
I have a RadGrid in a page which has a master page with an
I have a Telerik's RadGrid which has 2 columns like this: <Columns> <telerik:GridBoundColumn HeaderText=AirlineCode
I have a Telerik RadGrid which is composed of rows of checkboxes and text.
I have a RadGrid which is DataBound to a IDictionary<string,string> where there are 2
I have radGrid in .ascx page in which I want to find the control
I have a paged RadGrid with a PDF Export function (which is in the
I have a radgrid which should update when a checkboxlist is changed(achieved on a
I have the following code: jQuery(document).ready(function ($) { // ... Sys.Application.add_load(function () { $(.RadGrid
I have a Telerik RadGrid in which I'm implementing custom paging binding to a

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.