1
我有dataGrid和LinkButton與JavaScript, 如何獲取MessageSend函數的ID?Asp圖像按鈕OnClientClick(id)
<ItemTemplate>
<asp:ImageButton ID="MessageButton" runat="server" OnClientClick="javascript:void(MessageSend(SomeID))" ImageUrl="Header.gif"/>
</ItemTemplate>
<asp:BoundColumn Visible="True" DataField="SomeID" ReadOnly="True" HeaderText="ID"></asp:BoundColumn>