Master Detail forms
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngarchitecture' list.


Sudip Kumar Bhattacharya
-- Moved from [aspngstart] to [aspngarchitecture] by Tony Stark <Click here to reveal e-mail address> --

Hi,

What is the best methodology for creating Master-Detail forms in ASP.NET???
Requirement is that the form should have a grid like detail portion where
you can easily edit the data in the existing detail records in the same
page, as well as add any number of detail records as you want to. Problem is
that we need to avoid return trip to the server. Only when the user says
save, the whole form should be posted to the server.
Most Master-detail forms samples available on net are showing either a
read-only grid, or a grid where you can edit existing records one row at a
time but can't add more rows.

What is the recommended method for creating master detail forms in ASP.Net??

Regards,
Sudip Kumar Bhattacharya

Reply to this message...
 
    
Dave Cline
ASP.NET tends to forgo client side javascript. ASP.NET is server side
server side server side.
Microsoft would just as soon have you eliminate client side javascript
completely.

Can you dedicate using IE?

If so I would build your data in an XML DOM in memory on the client and
format your forms through XSLT. Have Javascript show DIVs with detail
entry controls and SAVE,UPDATE,DELETE would manipulate the XML DOM.

The Master SAVE would send the XML DOM to the server for processing.

--
Dave Cline
Click here to reveal e-mail address
www.bangeye.com/
801-796-3413

---- "Sudip Kumar Bhattacharya" <Click here to reveal e-mail address> wrote:
[Original message clipped]

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com