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. how to validate asp.net2 web page controls by javascript in master content pages

how to validate asp.net2 web page controls by javascript in master content pages

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptasp-netcomtutorial
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.
  • Z Offline
    Z Offline
    zahra yousefi
    wrote on last edited by
    #1

    hi dear friends, I want to validate asp.net2 web controls () by javascript but but it can not recognized.(document.form1.TextBox1.value) the other point is that content pages dont have form tag, this tag is just in master page while my controls are placed in content page. Please refer me to helpful sites about this case. thank you Regards yousefi Tehran-Iran

    zahra yousefi yousefi105@yahoo.com

    M 1 Reply Last reply
    0
    • Z zahra yousefi

      hi dear friends, I want to validate asp.net2 web controls () by javascript but but it can not recognized.(document.form1.TextBox1.value) the other point is that content pages dont have form tag, this tag is just in master page while my controls are placed in content page. Please refer me to helpful sites about this case. thank you Regards yousefi Tehran-Iran

      zahra yousefi yousefi105@yahoo.com

      M Offline
      M Offline
      mbbisht
      wrote on last edited by
      #2

      actually when u use masterpage concept asp.net add pageid before each control so for accessing any control from javascript prefix pageid with control u can check pageid by viewsource of your file

      Mahendra

      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