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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. custom validator problem

custom validator problem

Scheduled Pinned Locked Moved ASP.NET
help
2 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.
  • N Offline
    N Offline
    N a r e s h P a t e l
    wrote on last edited by
    #1

    hi i have assigned custom validator to textbox and calling on function to validate the string insert into the textbox on custom validator OnServerValidate="CheckImageFormat" event ..but it's not working properly.it works when page is postback..but i want to do the checking without page postback. have any idea then please help me

    Naresh Patel

    M 1 Reply Last reply
    0
    • N N a r e s h P a t e l

      hi i have assigned custom validator to textbox and calling on function to validate the string insert into the textbox on custom validator OnServerValidate="CheckImageFormat" event ..but it's not working properly.it works when page is postback..but i want to do the checking without page postback. have any idea then please help me

      Naresh Patel

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      N a r e s h P a t e l wrote:

      OnServerValidate="CheckImageFormat"

      "OnServerValidate" mean the validation has to go to server and came back to client.. so, the Postback will be occured... If you don't want postback, you can use "ClientValidationFunction" of Custom Validator.... Of course, that function should be written in clientscript...

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

      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