Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6815101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:46:00+00:00 2026-05-26T20:46:00+00:00

i have follwing textbox, <dx:ASPxTextBox runat=server ID=txtCustomer Native=true CssClass=medium required> <ValidationSettings RequiredField-IsRequired=true ></ValidationSettings> </dx:ASPxTextBox>

  • 0

i have follwing textbox,

<dx:ASPxTextBox runat="server" ID="txtCustomer"  Native="true"  CssClass="medium required">
                                                    <ValidationSettings RequiredField-IsRequired="true" ></ValidationSettings>
                                                </dx:ASPxTextBox>

when User doesn’t enter anything into textbox, inbuilt Required field validation fires. and displays * indicating it is required field
but i want to change some css style to AboveTextbox when RequiredField event is fired.
i mean i want to perform some task when Inbuilt requiredfield Validation fires.
how can i catch or how can i know when Requiredfield validation fires?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:46:01+00:00Added an answer on May 26, 2026 at 8:46 pm

    Try following:

    <dx:ASPxTextBox runat="server" ID="txtCustomer"  Native="true"  CssClass="medium required">
        <ValidationSettings RequiredField-IsRequired="true" ></ValidationSettings>
        <ClientSideEvents Validation="function(s, e) { myFunc(); }" />
    </dx:ASPxTextBox>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following html: <div id=myDiv1_ class=formElement1><asp:TextBox ID=TextBox1 CssClass=formInput1 runat=server></asp:TextBox></div><br /> <div id=myDiv2_
I have the following textbox with validation: <asp:TextBox ID=txtInput runat=server Width=80px CausesValidation=True></asp:TextBox> <asp:RequiredFieldValidator ID=RequiredValidator
I have the following textbox server control in my web page: <asp:TextBox ID=txtZip runat=server
If I have the following in an ASP.NET Web Form: <asp:TextBox runat=server ID=tbxUser/> and
I have the following code <table cellpadding=2 cellspacing=2> <tr> <td>Factory:</td> <td> <asp:TextBox ID=txtFactory runat=server
I have the following asp.net markup: <asp:TextBox ID=txtPassword runat=server TextMode=Password ValidationGroup=passwordValidation></asp:TextBox> <asp:RequiredFieldValidator ID=RequiredFieldValidator1 runat=server
I have following HTML structure : <asp:TextBox ID=txtFrom class=textBox js-min runat=server /> <asp:RequiredFieldValidator ID=strtDtValidator
I have the following ASP.NET code - <asp:TextBox ID=TextBox1 runat=server Width=75 /> <ajax:MaskedEditExtender runat=server
I have the following control on my ASPX page: <asp:TextBox ID=txtISBN13 runat=server ClientIDMode=Static />
I have the following control: <asp:TextBox ID=textbox1 runat=server Width=95px MaxLength=6 /> which i would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.