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 Syncfusion Hierarchy grid - DateTime column issue

Thread ID:

Created:

Updated:

Platform:

Replies:

114259 Nov 8,2013 06:44 AM Nov 12,2013 06:57 AM ASP.NET MVC (Classic) 1
loading
Tags: Grid
seethapriyanka peddada
Asked On November 8, 2013 06:44 AM

Hi,
I am using Syncfusion Hierarchy grid for ASP.Net MVC application. I have a business object collection that i want to bind to my grid. I have a DateTime property in my object. I am getting format exception when i tried to bind my collection with syncfusion grid.
Exception detail -  "{"Input string was not in a correct format."}"
If i dont bind the dateTime property in my grid it is working fine. 
Please see my code snippet below.
 .ChildGrid(child =>
                          {
                              child.ChildGridTemplate(Html.Syncfusion().Grid<myObject>("ChildGrid_${id}")
                                   .Mappers(map =>
                                   {
                                       map.Action("myMethod", new { id= "${id}" });
                                   })
                                    .Column(column =>
                                    {
                                        column.Add(a => a.Name);
                                        //column.Add(a => a.TCDate); -- Giving exception
                                    })


Sarath Kumar P [Syncfusion]
Replied On November 12, 2013 06:57 AM

Hi seethapriyanka,

 

Thanks for using Syncfusion products.

 

We have updated your query  in  incident  115483.Please follow up that incident  for further reference.

 

Please let us know if you need further assistance.

 

Regards,

P.SarathKumar.

 


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.

;