Posted: 3/2/2011
hi all,
i designed a gridview and innergridview. design seems below
Master Data
Detail Data
i have some hidden control in the master record, in child row when i click an link button then i want to read that hdden value so, i use below code
var data1 = closestTR.find('input:hidden[id$=hdnData1]').val();
but its not working , the same code is working with the event from Master Record.
may i know how to read that master row record from the child row.?
for this master and child row concepts i used below syntax
<gridview>
<HeaderTemplate>
<table>
<tr><td>This is for Master Row Header</td></tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<tr><td>This is for Master Row Data</td></tr>
</ItemTemplate>
<innerGridview>
<tr><td>This is for Detail Row Heading</td></tr>
</innerGridview>
Hi,Can you show your JavsScript code? it will be helpful for us to help you after seeing your code.
Posted: 3/3/2011
Raghav this is my code
i tried this code
var closestTR = $(this).closest('tr');
var dc = closestTR.find('input:hidden[id$=hdnData1]').val();
from innergridview link button click event.
Posted: 3/4/2011
Hi,This is not the complete code , I need to look what is this thats why I was saying to show me the detailed JavaScript code.
Posted: 6/16/2011
What's going on with the issue in this thread?