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. General Programming
  3. WPF
  4. Regex validation in Silverlight RIA services

Regex validation in Silverlight RIA services

Scheduled Pinned Locked Moved WPF
testingbeta-testingregexxmltutorial
1 Posts 1 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.
  • J Offline
    J Offline
    jonathan15
    wrote on last edited by
    #1

    I am just doing some testing with RIA services for a new app. Most of the fields have validation so i thought the validation attributes in RIA services would work well. The app involves taking user input and creating an xml file that validates against an xsd. The xsd specifies regular expressions to validate some of the fields so i thought i could copy them and use them as regularexpression attributes in RIA services but its not working. For example according to the info i was given this regex: ([A-Z0-9\(\)\-/'&]+)|([A-Z0-9\(\)\-/'&][A-Z 0-9\(\)\-/'&]*[A-Z0-9\(\)\-/'&]) should allow upper case alpha and numbers plus some specific characters but when tested it alows either upper or lower case alpha. any ideas on why its not working or what it actually breaks down to. Jon

    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