sync issue

G

Guest

hey all,

if i have a datagrid in one browser, click on a record, and it opens another
browser to view the details, update the details in that browser and close it,
how do i auto update the datagrid browser?

Bonus question: are there any comments on designing web app this way
regarding master /details and the 2 browsers thing?

thanks,
rodchar
 
R

Rick

If you open the child grid in a modal dialog (IE only, I believe) you can
then refresh the parent page when it closes.

You may wish to used nested grids instead. Foreach parent grid row you can
create an EditItemTemplate that contains an editable parent row PLUS a child
grid. This requires extra work at the back end maintaining both grids, but
the end result can be pretty good.

Alternatively you could opt for a tabbed dialog with two tabs: one with the
parent grid and one with the child grid. A tabbed dialog is easilt
constructed by showing and hiding tablecells or panels.
 
G

Guest

thanks very much.

Rick said:
If you open the child grid in a modal dialog (IE only, I believe) you can
then refresh the parent page when it closes.

You may wish to used nested grids instead. Foreach parent grid row you can
create an EditItemTemplate that contains an editable parent row PLUS a child
grid. This requires extra work at the back end maintaining both grids, but
the end result can be pretty good.

Alternatively you could opt for a tabbed dialog with two tabs: one with the
parent grid and one with the child grid. A tabbed dialog is easilt
constructed by showing and hiding tablecells or panels.
 

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,780
Messages
2,569,611
Members
45,283
Latest member
JoannaGrif

Latest Threads

Top