Asp.net - Customvalidator For Dropdownlist Not Being Invoked (apparently)?Jun 30, 2011
Writing a custom validator for a dropdownlist that is using autopostback. Seems to ignore the validation altogether. Why is it ignored and is there an easy fix? Note I did not use ControlToValidate
<asp:UpdatePanel ID="updatePanel" runat="server" UpdateMode="Conditional" Visible="true" RenderMode="Inline">
<asp:DropDownList ID="ddlCommandAssign" runat="server" AutoPostBack="true">
For debugging purposes, I want it to fail every time.It doesn't seem to be executing the behind code at all. For debugging, I added the line response.redirect("dummy.html") ... which never gets called, which also indicates (I think) that the validator never gets called.