Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
775
DataFormatString of a BoundDataField of WebHierarchicalDataGrid throwing error
posted

Hi ,

I am getting error with the DataFormatString property of a BoundDataField of WebHierarchicalDataGrid . I am binding a date time value as string to the BoundDataField . This is causing the issue in chrome browser. please find below the tag which i am using.

  <ig:BoundDataField DataFieldName="DisplayDateTime" DataFormatString="{0:MM/dd/yyyy hh:mm:ss}"  Key="DisplayDateTime" >
                    <Header Text="DisplayDateTime" />

it is throwing javascript error when page is displayed. following is the javascript error.

Failed to execute 'setAttribute' on 'Element': '39' is not a valid.

Let me know how can format the string to datetime format.

Thanks,

Kiran