like below:-
<script type="text/javascript">
//button1 OnClientClick function call
function fun_AddnlFeeChange()
{
//When this client function call i need to change the EmptyDataTemplate additional fees label value
//I need to bind some calculation value in that additional fee label
return false;
}
</script>
<table>
<tr>
<td colspan="10" align="center">
<asp:GridView ID="gv_CreateNewPO" runat="server" AutoGenerateColumns="False" GridLines="None"
ShowFooter="True" Width="100%">
<EmptyDataTemplate>
<table border="0" cellpadding="0" cellspacing="0" align="left" width="100%">
<tr>
<th align="left" class="tableheadernew">
Line #
</th>
<th align="left" class="tableheadernew">
Price Ref.#
</th>
<th align="left" class="tableheadernew">
Addnl. Fees
</th>
<th align="left" class="tableheadernew">
Cert/Srvc
</th>
<th align="left" class="tableheadernew">
Note
</th>
<th align="left" class="tableheadernew">
</th>
<tr>
<td>
<asp:Label ID="lbl_CNPOLineNo" runat="server" Text="1">
</asp:Label>
</td>
<td class="Rowstyle">
<asp:TextBox ID="txt_CNPOPriceRef" runat="server" ></asp:TextBox>
</td>
<td>
<asp:Label runat="server" ID="lbl_AddnlFees"></asp:Label>
</td>
<td class="Rowstyle">
<asp:LinkButton ID="lnk_CertSrvc" runat="server">Enter</asp:LinkButton>
</td>
<td class="Rowstyle">
<asp:LinkButton ID="lnk_Note" runat="server">Enter</asp:LinkButton>
</td>
<td class="Rowstyle">
<asp:LinkButton ID="lnk_Save" runat="server">Save</asp:LinkButton>
</td>
</tr>
<tr>
<td class="tablefooterfinal" colspan="17">
</td>
</tr>
</tr>
</table>
</EmptyDataTemplate>
</asp:GridView>
</td>
<tr>
<tr>
<td align="center">
<asp:Button ID="Button1" runat="server" Text="Process" OnClientClick="return fun_AddnlFeeChange();" />
</td>
</tr>
</table>

New Topic/Question
Reply


MultiQuote



|