Nested DataGrids

D

Dave

If you drop a datagrid into an itemtemplate column of a
datagrid using VS.net, it doesn't get declared in the
designer code with

Protected WithEvents NestedGrid As
System.Web.UI.WebControls.DataGrid

I presume that is why you can't pick up the ItemCommand
event of the NestedGrid if it has an ImageButton in it.
That being the case, does anyone know what you must do to
pick up the event?

I added the declaration but it didn't help. Seems like
you must pick up the datagrid somehow by accessing it
through the cells of the datagrid that contains it.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top