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. Custorm Control For regular expression

Custorm Control For regular expression

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netregex
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
    Malayil alex
    wrote on last edited by
    #1

    Hi I need your help..i am in a problem like In my webpage i have 2 textbox...initially both will have to show..user has to enter value any one of these 2 textbox and has some regular expression validation is also there.. eg..one textbox is for bank a/c and another is for someother bank a/c no each one has it's on regular expression validation ..user has to fill either one of these textboxes..for that i have to create a custom validation control..because i am a beginer in asp.net..so can anybody help me to make custom control for this problem....for that i can reuse it again in my project.. regards alex.

    M 1 Reply Last reply
    0
    • M Malayil alex

      Hi I need your help..i am in a problem like In my webpage i have 2 textbox...initially both will have to show..user has to enter value any one of these 2 textbox and has some regular expression validation is also there.. eg..one textbox is for bank a/c and another is for someother bank a/c no each one has it's on regular expression validation ..user has to fill either one of these textboxes..for that i have to create a custom validation control..because i am a beginer in asp.net..so can anybody help me to make custom control for this problem....for that i can reuse it again in my project.. regards alex.

      M Offline
      M Offline
      Masood Kochi SSF
      wrote on last edited by
      #2

      Dear, Your need is simple put a custome valid ctrl in web page, under this control { if((TextBox1.Text=="")&&(TextBox2.Text=="")) //display error message //set a flag variable } But the dear...These validations are pure when u publish the site in web if u know, try with javascript

      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