Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio 2015 & .NET 4.6
  4. Date value not showing in the calendar with HTML5 support

Date value not showing in the calendar with HTML5 support

Scheduled Pinned Locked Moved Visual Studio 2015 & .NET 4.6
helphtmldatabasevisual-studioquestion
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ADSCNET
    wrote on last edited by
    #1

    I have a Form View has a text field in the , the text field binded to a 2 way binded control, code as follow:

    and I'm using TextMode as Date which will result in displaying the calender in the browser. in the Model Entity class I'm defining the DOB as:

    Public Property DOB() As Date?

    The problem: When using Google Chrome or Opera which they are excellent in handling & compatible with HTML5 elements, the txtDOB field doesn't show the date data value which binded from the db, what displayed instead is: 1- in Chrome, displays yyyy-mm-dd, which is the date format iam using 2- in Opera, the txtbox is empty. Both browsers displays the calendar when clicked on the field. Why the bounded date data not shown in the text field also not marked/selected when the calendar opened? Note: in IE I see it as normat txtField with the date value binded from the db, of course no calendar view coz IE ver 9 doesn't support fully HTML5 which results to not understand the tag (TextMode="Date") Used technology: - VS 2012 - Entity Framework 4.5 Thanks for the help in advance

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups