asp.net - Regex Validation doesn't work under a update panel -


i have validate 2 textboxes, inside update panel. code regex fine 1 using in textbox in project, 1 has unique case under update panel. problem regex doesn't want work inside update panel , has work inside since data filled these textboxes dynamically , without having constant postbacks. asp code one...

 <asp:regularexpressionvalidator id="regularexpressionvalidator2" runat="server"       controltovalidate="txtmoney" display="dynamic"        errormessage="verifyb quantity" forecolor="red" height="6px"        validationexpression="^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$"        width="500px"></asp:regularexpressionvalidator> 

the code works using exact 1 (with of course controltovalidate correctly changed) gives me no validation on text or when button pressed. using vs2012 , vb.net. see problems regarding i've seen no solid fix far.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -