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. Validators

Validators

Scheduled Pinned Locked Moved ASP.NET
question
4 Posts 2 Posters 0 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
    Anzy
    wrote on last edited by
    #1

    Hi all, I have some RequiredFieldValidators and CompareValidators that are working fine on development box but not working at all on production. Does anyone have a clue why this is the case? Thank you, Anzy

    A 1 Reply Last reply
    0
    • A Anzy

      Hi all, I have some RequiredFieldValidators and CompareValidators that are working fine on development box but not working at all on production. Does anyone have a clue why this is the case? Thank you, Anzy

      A Offline
      A Offline
      Anzy
      wrote on last edited by
      #2

      I've solved the problem by setting all validators' 'EnableClientScript' to false. Apparently the production server does not support client-side validation/scripting for some reason, so the only option left is to use server-side without the need to manually write the validation code. HTH Anzy

      S 1 Reply Last reply
      0
      • A Anzy

        I've solved the problem by setting all validators' 'EnableClientScript' to false. Apparently the production server does not support client-side validation/scripting for some reason, so the only option left is to use server-side without the need to manually write the validation code. HTH Anzy

        S Offline
        S Offline
        sreejith ss nair
        wrote on last edited by
        #3

        hi, You found solution. right. Good. but tell me what you mean by this "development box but not working at all on production." Is Develpoment means your IDE ? Production means what ?:sigh: ************************** S r e e j i t h N a i r **************************

        A 1 Reply Last reply
        0
        • S sreejith ss nair

          hi, You found solution. right. Good. but tell me what you mean by this "development box but not working at all on production." Is Develpoment means your IDE ? Production means what ?:sigh: ************************** S r e e j i t h N a i r **************************

          A Offline
          A Offline
          Anzy
          wrote on last edited by
          #4

          Oops, sorry to confuse you. Development Box - a server/machine used for development and testing purposes. Production Box - a server/machine hosting live websites. Both 'supposedly' have the same visual studio .net and iis configuration.

          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