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. Image for the cookie policy date
close icon

MVC Syncfusion Hierarchy grid - DateTime column issue

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
                                    })


1 Reply

SK Sarath Kumar P Syncfusion Team November 12, 2013 11:57 AM UTC

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.

 


Loader.
Live Chat Icon For mobile
Up arrow icon