Server-Side to Client-Side RegEx conversion RRS feed

  • Question

  • User1724266192 posted

    I am building a control that has a collection of Regular Expressions as a property. I need to expose these expressions on the client. Now, If I use a RegularExpression validator with the expression "\d{3}", the html attribute that is rendered on the client is \\d{3}. So I can only conclude from this that there is some method in the framework somewhere that will handle this conversion. I can write my own utility class to handle this, but I would prefer to use a built-in solution before re-inventing the wheel. Any help with this would be greatly appreciated. Thanks.

    Thursday, August 3, 2006 4:01 PM

All replies

  • User-545242876 posted

    I am facing same problem, have u come across with any solution ?

    Thursday, March 22, 2018 3:54 PM