Hi! When user clicks on Add new row in detailsTables i want a parent data key name to pass to new page... on client side
but i have CommandItemTemplate on detailsTables, therefore kindly tell how could i get parent datakeyvalue on ShowInsertForm function.
<CommandItemTemplate>
<div class="lnkStyle">
<a href="#" onclick="return ShowInsertForm();" style="text-decoration: none;">
<img id="imgAdd" src="../Images/icon_add.png" style="border-width: 0px;" />
Add new record </a>
</div>
</CommandItemTemplate>
but i have CommandItemTemplate on detailsTables, therefore kindly tell how could i get parent datakeyvalue on ShowInsertForm function.
<CommandItemTemplate>
<div class="lnkStyle">
<a href="#" onclick="return ShowInsertForm();" style="text-decoration: none;">
<img id="imgAdd" src="../Images/icon_add.png" style="border-width: 0px;" />
Add new record </a>
</div>
</CommandItemTemplate>