Validation Summary not showing error messages

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Validation Summary not showing error messages

    Hello all,
    It seems when I manualy set a validation control's IsValid
    property and ErrorMessage property, the validation summary
    will not show the error message. Is this a bug or am I
    missing something?

    Thanks in advance.
    Thomas Connolly Guest

  2. Similar Questions and Discussions

    1. LoadControl and Validation Summary
      I am working on a project that dynamically loads controls from within Page_init so that the viewstate is preserved. On post back the control saves...
    2. Validation Summary Contol
      I am trying to add a validate summary control to my composite control. I add it to the controls collection and all the other validation control stop...
    3. validation summary
      Is there a way to add a message to validationsummary control without adding validation control?
    4. Validation Summary MessageBox Problem
      Hi, I have built a composite control that takes in XML and creates controls based on the XML. For a simple example to test my control, it takes...
    5. validation summary doesnt display when there's client-side validation
      I have a custom validator that validates a numeric field, txtField, that allows for thousand separators. I also placed a validation summary so...
  3. #2

    Default Re: Validation Summary not showing error messages

    Can you provide sample of your code so I can repro it?

    --
    Teemu Keiski
    MCP, Designer/Developer
    Mansoft tietotekniikka Oy
    [url]http://www.mansoft.fi[/url]

    ASP.NET Forums Moderator, [url]www.asp.net[/url]
    AspAlliance Columnist, [url]www.aspalliance.com[/url]

    Email:
    [email]joteke@aspalliance.com[/email]

    "Thomas Connolly" <anonymous@devdex.com> wrote in message
    news:OUCIXlkRDHA.940@TK2MSFTNGP11.phx.gbl...
    >
    > Teemu,
    > Thank you for your reply. I should have provided some more information:
    > The control is a CustomValidator control and it is validating on the
    > server. After server validation there is a call to Page.Validate() but
    > it still does not show up in the Validation Summary. Any ideas?
    >
    > Thanks again,
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Teemu Keiski Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139