troubleshooting Question c# textox_textchanged not firing requiredfieldvalidator on client side

Avatar of Codeaddict7423
Codeaddict7423Flag for United States of America asked on
ASP.NET.NET Programming
2 Comments1 Solution182 ViewsLast Modified:

I have a textbox with a textbox_TextChanged event (empty at this time)

My *.aspx code is as follows:

 <asp:TextBox ID="txtGroupName" runat="server" Width="500" MaxLength="500" OnTextChanged="txtGroupName_TextChanged" AutoPostBack="True" CausesValidation="True" ValidationGroup="TCUserEntry" OnKeyDown="TextChanged(this)">

                </asp:TextBox>&nbsp;&nbsp;<span style="color: red">*</span>&nbsp; &nbsp;&nbsp;  
                     <asp:RequiredFieldValidator ID="RFV_GroupName" ControlToValidate="txtGroupName" runat="server" ErrorMessage="Group Name is Required" Display="Dynamic" ValidationGroup="TCUserEntry" SetFocusOnError="true" TabIndex="0"></asp:RequiredFieldValidator>


How do I trigger the required field validator control when the user tabs away from this control?

Thank you in advance.

jitendra patil
Sr Software Engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2013

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros