We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

MVC Grid to be used for child rows

Thread ID:

Created:

Updated:

Platform:

Replies:

118200 Feb 10,2015 12:43 PM Feb 11,2015 07:39 AM ASP.NET MVC 1
loading
Tags: Grid
Paul Pitchford
Asked On February 10, 2015 12:43 PM

I have a requirement for a master detail form such as an invoice where we'd use standard form controls for the header such as Customer, Date, and Order Number etc. The invoice items would then be controlled by the grid. The problem comes when I'm thinking about saving the data and incorporating the child data. I've had decent success using the grid on it's own on a page using batch inputting and have managed to wire most things successfully, but in the 'real world' the grid will probably be associated with a master record where data entry would ideally be done all at once. The save button on the grid only calls the save method for those rows as far as I understand in my MVC controller?

Do you have any literature or samples that could point me in the right direction.

Thank you in advance.

Kind Regards,

Paul Pitchford.


Prasanna Kumar Viswanathan [Syncfusion]
Replied On February 11, 2015 07:39 AM

Hi Paul,

Sorry for the inconvenience caused,

We unable to understand your requirement ,kindly refer the below link and  could you please let us know what type of grid you are using weather master detail grid or hierarchy grid?

Hierarchy Grid:

Link: http://mvc.syncfusion.com/demos/web/grid/hierarchygrid

Masters Grid:

Link: http://mvc.syncfusion.com/demos/web/grid/masterdetails

Additionally in the requirement, you mention that you are using edit type as batch and have a problem in saving the data. Can you please let us know the problem occurs while saving the data in child grid data or parent grid?  

So, Please send the details of an requirement as a screenshot or code snippet that will help as to provide a better solution asap.

Regards,

Prasanna Kumar N.S.V

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;