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

use RadNumerikTextbox or RadTextBox as a Label

1 Answer 108 Views
Input
This is a migrated thread and some comments may be shown as answers.
Myname
Top achievements
Rank 1
Myname asked on 08 Nov 2012, 06:16 PM
hello to telerik team.

how can i have a RadNumerikTextbox or RadTextBox as a Label.
for example i have a clear style (simple style) RadNumerikTextbox or RadTextBox. like a simple label.

tanks.
bye.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Nov 2012, 05:05 AM
Hi,

Try overriding the default CSS as follows to achieve your scenario.

ASPX:
<telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" Value="46789" ></telerik:RadNumericTextBox>
<telerik:RadTextBox ID="RadTextBox1" runat="server" Text="46789"  ></telerik:RadTextBox>

CSS:
<style type="text/css">
    html body .RadInput_Default .riTextBox, html body .RadInputMgr_Default
    {
        border: none !important;
    }
</style>

Thanks,
Shinu.
Tags
Input
Asked by
Myname
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or