all groups > asp.net datagrid control > december 2004 >
You're in the

asp.net datagrid control

group:

ItemCommand event not firing on ButtonColumn


ItemCommand event not firing on ButtonColumn Simon Rigby via .NET 247
12/22/2004 4:06:27 PM
asp.net datagrid control: Hi,

I have a page with a user control on it to allow users to search=
a database=2E When they click the search button, another user=
control appears containing the search results=2E This control=
contains a datagrid with the results in (amongst other things)=2E=
I have added a buttoncolumn to the datagrid but the itemcommand=
event is not firing when any of the buttons are clicked=2E Can=
anyone help? This has been driving me nuts for about 3 days now=2E=
Let me know if you need more information

--------------------------------
From: Simon Rigby

-----------------------
Posted by a user from =2ENET 247 (http://www=2Edotnet247=2Ecom/)

RE: ItemCommand event not firing on ButtonColumn R. Thomas, aka Xtreme.Net
12/23/2004 11:21:02 PM
I have done the same thing for my search, infact I'm still using it,
considering the scenario you provided, my search works fine. Maybe you have a
typo error? your even is not correctly wired to ur dg?
Hth..
AddThis Social Bookmark Button