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

GridDataBoundGrid Datetime autocomplete

Thread ID:

Created:

Updated:

Platform:

Replies:

130976 Jun 14,2017 10:10 AM UTC Jun 19,2017 06:54 AM UTC WinForms 3
loading
Tags: GridDataBoundGrid(Classic)
ilyes
Asked On June 14, 2017 10:10 AM UTC

Hi, I am using Syncfusion's GridDataBoundGrid control, and i want the cells that shows datetime to be auto completed. For example: when i tape : 01/05/17 then click tab the datetime became 01/05/2017.
Now when i click sur tab it shows me this error message:is not a valid value for datetime.
Best regards and thanks in advance
Lyes

Arulpriya Ramalingam [Syncfusion]
Replied On June 15, 2017 11:53 AM UTC

Hi Ilyes, 

Thanks for using Syncfusion products. 

Query 
Response 
i want the cells that shows datetime to be auto completed. For example: when i tape : 01/05/17 then click tab the datetime became 01/05/2017. 

In order to achieve this scenario, please set the format for date time values by using GridStyleInfo.Format property. 

//To set the DateTime column as AutoComplete 
this.gridBoundColumn4.StyleInfo.Format = "MM/dd/yyyy"; 

i click sur tab it shows me this error message:is not a valid value for datetime 

The reported error will occur when the values of date and month are not valid. (i.e. the value for month should not exceed 12 and value for date should not exceed 31). From your statement we suspect that you have entered invalid values for date and month. Please ensure whether the entered date and month are correct. 


 
Regards, 
Arulpriya 


ilyes
Replied On June 16, 2017 10:06 AM UTC

Hi Arulpriya,

Thanks for your reply!

Lyes 

Arulpriya Ramalingam [Syncfusion]
Replied On June 19, 2017 06:54 AM UTC

Hi Lyes, 
Thanks for your update. 
Regards, 
Arulpriya 


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

;