Browse by Tags

Related Posts

  • Re: Page.IsValid is always false when TextBox has ReadOnly=true

    [quote user="kamii47"] You should disable the requiredfield validator when you are setting readonly=true for the text box rfvCode .Enabled = False [/quote] Thanks, I have added that code and now Page.IsValid is true. protected void btnSend_Click( object sender, EventArgs e ) { rfvCode.Enabled...
    Posted to Web Forms (Forum) by manaslu on 08-29-2008, 12:00 AM
    Filed under: page.isvalid, TextBox, readonly, requiredfieldvalidator
  • Page.IsValid is always false when TextBox has ReadOnly=true

    Situation: - I have one TextBox that is read only but I change its text with javascript. - Initially, the TextBox is empty and I check it with a RequiredFieldValidator. - I fill the TextBox with javascript and I send the form. - I verify the validation on the server (Page.IsValid) and I get that it is...
    Posted to Web Forms (Forum) by manaslu on 08-29-2008, 12:00 AM
    Filed under: page.isvalid, TextBox, readonly, requiredfieldvalidator
  • Regular Expressions Not Firing on OnClientClick event of Button

    Hi I am facing a problem. I have 2 Text Boxes on which i have put RequiredField Validator. I have a save button on which i have set OnClientClick--> return confirm('are u sure u want to save this?') when u press ok , even though if the vales are not entered in textbox the validators are not...
    Posted to Getting Started (Forum) by dprasannain on 06-11-2008, 12:00 AM
    Filed under: regular expression, regularexpression, required field, TextBox, textbox validation, validations, Visual Studio 2005, Visual Studio 2008, <asp.net>, Regex time validation regular expression time validation, "asp.net 2.0" "visual studio", validation expressions, RequiredFieldValidator
Page 1 of 1 (3 items)