470,626 Members | 2,153 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,626 developers. It's quick & easy.

Problems with nested datagrid and editing all rows in it

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
Mar 31 '06 #1
1 2108
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
"Vili" <tu***@eitoimi.fi.invalid> wrote in message
news:44***********************@news.fv.fi...
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

Mar 31 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Chris Plowman | last post: by
3 posts views Thread by Bill C. | last post: by
3 posts views Thread by Islamegy | last post: by
7 posts views Thread by uiranejeb | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.