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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MVC Syncfusion Hierarchy grid - DateTime column issue

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 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.

 


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.

Warning Icon 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.Close Icon

;