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)
{
.......
}
This saved my day. Many thanks.
Thank you for contacting Infragistics!
I have gone over this and I believe you may be seeing this behavior because you are not calling EnsureTemplates. Please read the following forum thread:
http://ko.infragistics.com/community/forums/t/93050.aspx