Hi guys/girls
i'm trying to put a button in the group footer in the code behind with the event item Databound
Code snippet
but when i Click on the button it's posting back but not doing the Click Even ??
anyone know how to fix this
Thanks
i'm trying to put a button in the group footer in the code behind with the event item Databound
Code snippet
if(e.Item is GridGroupFooterItem) |
{ |
var Footer = (GridGroupFooterItem) e.Item; |
var button = new Button(); |
button.Click += Button1_Click; |
button.ID = "btnNext"; |
button.CausesValidation = false; |
button.UseSubmitBehavior = true; |
button.Text = "Next"; |
Footer.Cells[5].Controls.Add(button); |
} |
but when i Click on the button it's posting back but not doing the Click Even ??
anyone know how to fix this
Thanks