use RadNumerikTextbox or RadTextBox as a Label

2 posts, 0 answers
  1. Myname
    Myname avatar
    3 posts
    Member since:
    Aug 2012

    Posted 08 Nov 2012 Link to this post

    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.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Nov 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top