Command and link buttons will fire the ItemCommand event of the datagrid. Some other controls (like the drop down list as you have seen) will not. So you must do as Ahmed suggests.
If you need to access the datagrid item from the dropdown's event handler, you can access the DDL objects parent. So in the handler, "sender" will be the DDL and you can then access "sender.Parent...." to get at the datagrid item that the DDL is contained within. You might have to go back out several levels because the DDL's parent will be a cell, which is in the data grid item.
|