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

Editing Time in a Formview

Thread ID:





115868 Feb 16,2014 05:01 AM UTC Feb 28,2014 05:07 AM UTC ASP.NET Web Forms (Classic) 4
Tags: Tools
Michael Yabsley
Asked On February 16, 2014 05:01 AM UTC

I am trying to edit a time field in the edit template of an ASP.net FormView
Using the setting CustomFormatChar="G" in the code behind I can get the text boxes to show the time. This setting does not work in the markup.

I can insert Time data OK
Whenever I try to edit, the DatetimeTextbox reverts to dd/mm/yy 12:00:00 AM even though the underlying time is as I set it on insert

Appreciate your help

Administrator [Syncfusion]
Replied On February 20, 2014 11:33 AM UTC

code behind I can get the text boxes to show the time

Rajaveni [Syncfusion]
Replied On February 20, 2014 12:06 PM UTC

Hi Michael,
Thanks for using Syncfusion products.
We have prepared simple sample with DateTimeTextBox in FormView. And we have checked the reported issue and the issue didn’t  get reproduced in our end.
Please find the sample in the below link.
Kindly refer the below  sample and if you feel that issue still exists, could you please try modifying the above sample with issue and share the same with us, so that we can analyze the problem and provide you a better solution.

Attachment: WebApplication1_641eb663.zip

Michael Yabsley
Replied On February 25, 2014 05:32 AM UTC

Thanks for the example, unfortunately I could not open it. Incompatible with my version of VS

I am using VS 2010



Rajaveni [Syncfusion]
Replied On February 28, 2014 05:07 AM UTC

Hi Michael,

Thanks for  the update.

Please find the sample in VS2010 in the below link.

Kindly refer the below sample and let us know if you have any other concerns.



Attachment: WebApplication14_1455e9d6.zip


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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