java script

Posted by Srinu_448 under ASP.NET on 6/5/2008 | Views : 1288 | Status : [Member] | Replies : 3
how to acess the gridview parameters using java script?




Responses

Posted by: Jayakumars on: 9/30/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

refer this

http://stackoverflow.com/questions/2550453/getting-gridview-column-value-as-parameter-for-javascript-function


Mark as Answer if its helpful to you

Srinu_448, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 9/30/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi
Please mark as answer Resolved Posts if it helpful to you.

Mark as Answer if its helpful to you

Srinu_448, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SheoNarayan on: 6/10/2008 [Administrator] HonoraryPlatinum

Up
0
Down
Just specify the id of the cell like <td id="td<%#Eval("AutoId") %>". In this way you will have each cell of the row as unique id and you can get its text contents using innerText property of the element in your JavaScript function.

Here, AutoId is your primary key of the data.

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Srinu_448, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response