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
U

User 10420288

@User 10420288
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Trying to use ASP.NET Custom validator for conditional validation
    U User 10420288

    Hello, I have a radio button list control on my ASP.NET web form for selecting the payment method (Credit Card, Cheque or Cash), And a credit card detail submission area for entering the credit card details if the user chose Credit Card as the payment method. The credit card detail entering area has a radio button list control for selecting Credit Card type (AMEX, Master or VISA), a text box for entering the credit card number and a drop down list for selecting the credit card expiry month as shown below

      Credit Card
      Cheque
      Cash / Other
    
      American Express
      Master Card
      VISA
    
     Month
     01
     02
     03
     04
     05
     06
     07
     08
     09
     10
     11
     12
    

    I am trying to validate my webform so that, IF and ONLY IF the user select the first option (Credit Card) for payment type, Then the user must ALSO select the credit card type (rdCCType), then enter credit card number (txtCCNumber) and also select credit card expiry month (ddlCCExpiryMonth) I have absolutely no idea how to accomplish this and where to start. Please show me how to do this using ASP.NET validation controls. Thank you.

    ASP.NET csharp asp-net tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups