customvalidator for dropdownlist not being invoked (apparently)
问题 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.net: <asp:UpdatePanel ID="updatePanel" runat="server" UpdateMode="Conditional" Visible="true" RenderMode="Inline"> <ContentTemplate> <asp:DropDownList ID="ddlCommandAssign" runat="server" AutoPostBack="true"> </asp:DropDownList> <asp:CustomValidator id="val_command_assigned" runat="server"