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

[Solved] RadNumericTextBox border

3 Answers 212 Views
Input
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 11 Feb 2008, 04:41 AM
I cannot seem to change the border on a numeric textbox.  I've tried using the borderstyle property and chaning the border property in the style property of the control.

I'd like to have the input box from Telerik look like a standard textbox, and I haven't been able to figure out how to do this.

Any help would be appreciated!

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 11 Feb 2008, 09:38 AM
Hello Robert,

Setting the Skin property to empty string should do for you - Skin="". Here is more info on how skins work for prometheus:
Hope this helps.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Robert
Top achievements
Rank 1
answered on 18 Feb 2008, 04:25 AM
Thanks for the suggestion.  That got rid of the black border, but I can't figure out how to get the inset, or "3d" look that the standard textboxes have.  Setting borderstyle="inset" doesn't seem to do the trick.

It's not super critical, but I'd like to get it to match up with the rest of my textboxes, rather than having to change all of them to match the telerik one.

Thanks!

0
Dimo
Telerik team
answered on 18 Feb 2008, 11:55 AM
Hello Robert,

There are three ways to achieve a system default look of a textbox:

1) Set a border style of

border: inset #d4d0c8 ;
border-width: 2px 1px 1px 2px ;

Please note that there still will be some difference in the appearance between the unstyled textboxes and the styled ones.

2) Remove all border styles from the skin and let the browser set the system default styles. In order to do this, you will need to use a custom non-embedded skin.

3) Do not use a skin at all by setting  Skin="" in the RadNumericTextBox tag.


Let us know if you need additional information.


Greetings,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Input
Asked by
Robert
Top achievements
Rank 1
Answers by
Steve
Telerik team
Robert
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or