Bhushan Posted March 17, 2006 Share Posted March 17, 2006 Hi,I am clicking on a button inside my Footer Template and handling the click event. But it's not working. It's giving me nothing. No errors aslo.Please see this.I have 2 columns and 1 row in my datagrid.ex:Name IDBhushan 101So what I am expecting from my below code is to print Bhushan.if(e.CommandName=="btnedit"){ string str=e.Item.Cells[0].Text; lab.Text=str;}One more thing is if i replace the above code by the below oneif(e.CommandName=="btnedit"){ lab.Text="hello world";}Its working fine. I am really shocked by this.Please let me know. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now