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. Problem in Validation Control

Problem in Validation Control

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-net
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.
  • P Offline
    P Offline
    Parameswar Mal
    wrote on last edited by
    #1

    Hello Friends, I am using Asp.net 2.0 with C#. I have Three textbox ..,txtname,txtAddress,txtphno,and each textbox has Requiredfield Validator.I am inserting Record and show record throuh 2 button ie. Save and ShowRecord button My problem is when i want show record through Textname textbox putting name(bind through DataReader) and click on show record then the message comes that other two textbox means txtaddress,txtphon can not blank which i have given in error message. When i remove validation control then record will be shown in textboxes. Plz give me some Idea. parameswar mal

    M 1 Reply Last reply
    0
    • P Parameswar Mal

      Hello Friends, I am using Asp.net 2.0 with C#. I have Three textbox ..,txtname,txtAddress,txtphno,and each textbox has Requiredfield Validator.I am inserting Record and show record throuh 2 button ie. Save and ShowRecord button My problem is when i want show record through Textname textbox putting name(bind through DataReader) and click on show record then the message comes that other two textbox means txtaddress,txtphon can not blank which i have given in error message. When i remove validation control then record will be shown in textboxes. Plz give me some Idea. parameswar mal

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

      1. I think, you can group the validators in ASP.NET 2.0. I haven't tried using it but read somewhere that it does. so, you probably can try.. OR 2. You can use the custom validators with client-side validation OR 3. Use Javascript-validation or Server-side validation..

      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