Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have this on aspx side:

<asp:TextBox runat="server" ID="txtBoxStartTime" TextMode="Time">
C# code behind

protected void Page_Load(object sender, EventArgs e)
{
txtBoxStartTime.Text = project.ActivationDate.ToString("hh:mm tt");
}

Still does not show in TextBox on UI.

I've noticed the problem is the same with all of the Textmode Time Property on Framework 4.5

Any suggestions/solutions on this? I truly appreciate your input!

Thanks!
Posted
Updated 24-Jun-15 19:20pm
v2

1 solution

As I know Textmode Time is supported only by new versions of the next browsers: Chrome, Safari and Opera. So maybe you are testing with a wrong browser.

For details about Textmode you can have a look in the next article and its code examples: Introducing Textmode in ASP.NET 4.5[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900