Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
898
ItemTemplate - asp:Button - OnClick not working on 15.1
posted

Hello,

I have the following code for a ASP:Button in ig:WebDataGrid  

This code works in 14.1. more the a year. Now we update our project (over 40000 lines of code) to 15.1 and the event is never fired.

For your help I would be very grateful.



<ig:TemplateDataField Key="SendDep" Width="120px" Header-Text="Send E-Mail to">

<ItemTemplate>

<asp:Button runat="server" Width="110" ID="btnSend" CssClass="small" OnClick="btnSend_Click"

OnClientClick="showBusy('PcnCheck - btnSend_Click');" CommandArgument='<%# DataBinder.Eval(((Infragistics.Web.UI.TemplateContainer)Container).DataItem,"Step") %>'

Text='<%# DataBinder.Eval(((Infragistics.Web.UI.TemplateContainer)Container).DataItem,"SendDep") %>' />

</ItemTemplate>

</ig:TemplateDataField>



protected void btnSend_Click(object sender, EventArgs e)

{

.......

}