This project is read-only.

Error on page post action

Jan 14, 2016 at 5:50 PM

I have a page that includes a form and a MVC grid.
When the page posts the form, I get the following error on the post action:

Column 'XXXXXXX' already exist in the grid
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Column 'XXXXX' already exist in the grid

I'm using custom columns like this:

Columns.Add(o => o.Customers.CompanyName)
            .Titled("Company Name")
Jan 19, 2016 at 11:44 AM
Hi Limanima

as per your code everything looking fine . Can you please send more detailed error (snapshot of error)

With Thanks
Jan 25, 2016 at 9:52 PM
Forget about it.
It's working...