Problems with nested datagrid and editing all rows in it

V

Vili

Hi all

I am having problems with asp.net 1.1 and nested datagrid.

I have a datagrid (dgDetail) nested inside a datagrid (dgMaster).

How can I make all the rows editable in dgDetail? So that when I choose
edit (on dgMaster) it would show edititem (textbox) of all writable rows
in dgDetail and update all on one click.

DgMaster is a table of warehouses with some info and dgDetail is a
a table of items stored in a warehouse. The point of needing all rows on
dgDetail to be edited at the same time is that is would work as a
check up list on what should be there and what is found when checked.

Tuomo
 
S

S. Justin Gengo

Tuomo,

Add: OnEditCommand="MyDataGrid_Edit" to your datagrid and then create a
MyDataGrid_Edit subroutine in your codebehind that also puts your other
datagrid's rows into edit mode.

Regards,

--
S. Justin Gengo
Web Developer / Programmer

Free code library:
http://www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top