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. Validations for Toolbar Button

Validations for Toolbar Button

Scheduled Pinned Locked Moved ASP.NET
sysadmintutorialquestion
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.
  • M Offline
    M Offline
    Madhu Balan
    wrote on last edited by
    #1

    How to perform the Client Side and Server Side Validations using the Validtor at the run time by clicking the toolbar button. B'coz for the windows button, the property called CausesValidation is available, but for the Toolbar button this property is not available. So how to achieve it using the toolbar button ? Note : The toolbar buttons are created at the runtime. With Thanks & Regards, Madhu.

    M 1 Reply Last reply
    0
    • M Madhu Balan

      How to perform the Client Side and Server Side Validations using the Validtor at the run time by clicking the toolbar button. B'coz for the windows button, the property called CausesValidation is available, but for the Toolbar button this property is not available. So how to achieve it using the toolbar button ? Note : The toolbar buttons are created at the runtime. With Thanks & Regards, Madhu.

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      Hi Madhu. In your code to handle the toolbar button click, you can call the Page.Validate() method. I don't know that this will help with regards to client-side, but at least you'd have server-side validation.

      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