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. Web Development
  3. ASP.NET
  4. RangeValidator error converting type

RangeValidator error converting type

Scheduled Pinned Locked Moved ASP.NET
csharpsysadminhelpquestion
1 Posts 1 Posters 2 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.
  • M Offline
    M Offline
    MS le Roux
    wrote on last edited by
    #1

    One of our asp .net pages has a RangeValidator control set as type Date, with MaximumValue="1/1/9999". When the page loads, the textbox control that the validator validates, is blank. On the majority of servers, the page loads fine. However, with one of the servers, when the page loads, the following error appears: The value '1/1/9999' of the MaximumValue property of 'rngDate' cannot be converted to type 'Date'. There is another page that has a similar validator, but it's text box starts with a value. That page loads fine on this server. Any ideas? :confused:

    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