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. Req.FieldValidator & ValidationSummary

Req.FieldValidator & ValidationSummary

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
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.
  • H Offline
    H Offline
    hakanaktan
    wrote on last edited by
    #1

    I am using Req.FieldValidator for 6 field in a form.Then i dropped a ValidationSummary to show the list free fields .. But i see both Req.FieldValidator & Val.Summary messages when i press submit.How may i hide Req.FieldValidator messages and show only Val.Summary list? i am new at vb.net.I was coding at asp.Now i am using asp.net but i have these kind of silly problems while using vb.net:( Thanx to repliers.. --junior coder--

    M 1 Reply Last reply
    0
    • H hakanaktan

      I am using Req.FieldValidator for 6 field in a form.Then i dropped a ValidationSummary to show the list free fields .. But i see both Req.FieldValidator & Val.Summary messages when i press submit.How may i hide Req.FieldValidator messages and show only Val.Summary list? i am new at vb.net.I was coding at asp.Now i am using asp.net but i have these kind of silly problems while using vb.net:( Thanx to repliers.. --junior coder--

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

      hey man.... its easy job...U need to do the following steps to get ur required Results. 1- change the Display Property of RequiredValidator=none 2- Romove the Erorr message From Summary if u had given any. how it works... when You Use Summary at the Pag, the validators at the same page with Display Property set to none will automatically show their messages in the summary. Each RequiredValidator should contain its own message. no need to give any Error message in Summary. though u can change the Display Property of Summary to List or ETC.. as u like to see the errors. it would be fine if u put the text "Please Correct the Following" or whatever u want... and show all the erros in list like this :)Please Correct the Following... -------here goes list of erros shown by validators .Invalid Input .Too short Password .UserId is Required best of luck.......................... munawar

      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