Hi
I have attached image . Using Gridview. I want when in any row under colum Hritvi is clicked i want to get its Mobile No.
Similarly when in any row under colum Srini is clicked i want Srini Mobile no without PostBack
Thanks
Hi
I have attached image . Using Gridview. I want when in any row under colum Hritvi is clicked i want to get its Mobile No.
Similarly when in any row under colum Srini is clicked i want Srini Mobile no without PostBack
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mohamed Azarudeen ZPosted May 10, 2023, 5:34 PM
, you can use JavaScript and add an event listener to the column headers for "Hritvi" and "Srini". When the headers are clicked, you can use the DOM traversal methods to find the corresponding cell in the same row and retrieve the mobile number from it.
provide your code if this doesnt work