DataGrid and UserControls

J

John

So I have run into a strange issue. I have a .aspx page
that contains a user control at the top of the page
{header) and 2 datagrids. In the first datagrid I allow the
user to click on a button that triggers the OnItemCommand.
When this command fires I add a new row to the second
datagrid with data from the first datagrid.

All this functionality works great before I add the
UserControl to the top of the page. The instant I add the
UserControl to the page it seems the OnItemCommand Event
fails to run. I can click on the button in the first
datagrid all day with no new row being inserted to the
second datagrid. Any ideas?

j
 
A

Axel Dahmen

Hmmm, well, you've programmed the code. Did you already step through it
during debugging? The event should still be raised (Page_Load and the
OnClick event), or doesn't it?

HTH,
Axel Dahmen
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top