471,123 Members | 861 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,123 software developers and data experts.

datagrid.itemcommand event not firing for image button

Please let me know what all options can I try to make the itemcommand get called when a image button gets clicked?
I tried some of the options like checking the autopost back before binding the datagrid. Then I tried putting a blank column in the datagrid too...but nothing seems working....

Let me know ASAP......

Thanks,
Amaresh
May 3 '06 #1
1 4073
Prawin
2
Check the place where you are binding the Grid. If it is in PageLoad then the DAtaGrid.DataBind function call should be line

If (!Postback)
{
MyDataGrid.DataSource=GetAllRecords();
MyDataGrid.DAtabind

}
Oct 10 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Syed Sami R. Shah | last post: by
2 posts views Thread by vinay | last post: by
4 posts views Thread by mwhalen | last post: by
2 posts views Thread by Deepesh | last post: by
5 posts views Thread by Jeff User | last post: by
2 posts views Thread by Lagwagon | last post: by
8 posts views Thread by brock wade | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.