This is a migrated thread and some comments may be shown as answers.

RadTextBox Hide or Change Invalid Icon

3 Answers 107 Views
Input
This is a migrated thread and some comments may be shown as answers.
Michael O'Flaherty
Top achievements
Rank 2
Michael O'Flaherty asked on 27 Mar 2012, 09:38 PM
Hi!

Is there a way to hide or change the attached button?

<telerik:RadTextBox ID="radTextBoxUsername" runat="server" CssClass="inputBox" ClientEvents-OnKeyPress="OnKeyPress"
                    MaxLength="16" ClientEvents-OnBlur="UsernameTextBoxValueChanged" SelectionOnFocus="SelectAll">
                    <ClientEvents OnKeyPress="OnKeyPress" OnBlur="UsernameTextBoxValueChanged"></ClientEvents>
                    <InvalidStyle CssClass="inputBoxInvalid" />
                </telerik:RadTextBox>

3 Answers, 1 is accepted

Sort by
0
Michael O'Flaherty
Top achievements
Rank 2
answered on 27 Mar 2012, 09:39 PM
Actually, a tooltip would be neat too.
0
Shinu
Top achievements
Rank 2
answered on 28 Mar 2012, 06:42 AM
Hello Michael,

Try setting the following CSS to remove invalid icon.
CSS:
<style type="text/css">
 html body .RadInput_Default .riError
  {
      background:none !important;
  }
  </style>

Thanks,
Shinu.
0
Michael O'Flaherty
Top achievements
Rank 2
answered on 28 Mar 2012, 02:19 PM
This gets me close. It does wipe out the color as well, so it is a little unwieldy. However, this points me in the direction of how to address it. Thanks for your help!
Tags
Input
Asked by
Michael O'Flaherty
Top achievements
Rank 2
Answers by
Michael O'Flaherty
Top achievements
Rank 2
Shinu
Top achievements
Rank 2
Share this question
or