FormDecorator - HTML TextBox gets rounded corned, RadTextBox does not

2 posts, 0 answers
  1. Paul
    Paul avatar
    31 posts
    Member since:
    Sep 2012

    Posted 18 Apr 2009 Link to this post


    Newbie alert here so I hope (and expect) I am missing something I cannot see for looking. 

    I wanting to use RadTextBoxes with rounded corners but have been getting nowhere so I stuck a HTML textbox on there and that does get rounded corners.  I cannot see what I am doing wrong.  This is latest Q1 2009 release download.  The Formdecorator is on the master page, with all controls set to rounded corners enabled.

    My code is as below, the two text boxes are at the bottom.  I have viewed in IE7 and Firefox 3.0.8, neither show the RadTextBox with rounded corners.

    <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"
    <asp:Content ID="Content2" ContentPlaceHolderID="cphExamTitle" runat="Server"
                Demo Exam Mode</p> 
    <asp:Content ID="Content3" ContentPlaceHolderID="cphContent" runat="Server"
        <asp:Label ID="LabelQuestionNumber" runat="server" Text='<%# QuestionNumber %>' CssClass="questionnumber" 
            Height="20px" Width="750px"></asp:Label> 
        <asp:CheckBox ID="CheckBoxShowAnswers" runat="server" Text="Show Answers"  
            ToolTip="The correct answer and explanation will be shown after after clicking Submit Answer" /><br /><br /> 
        <asp:Label ID="LabelQuestion" runat="server" Width="750px" Text='<%# Question %>' 
        <br /> 
        <asp:Image ID="ImageResult" runat="server" Height="110px" Visible="False" Width="110px" 
            CssClass="resultimg" /> 
        <asp:CheckBoxList ID="CheckBoxListAnswers" runat="server" Width="600px" CssClass="answers"
        <br /> 
        <asp:Label ID="LabelTitleExplanation" runat="server" CssClass="explanationtitle" 
            Height="30px" Text="Explanation :" Visible="False"></asp:Label> 
        <br /> 
        <telerik:RadTextBox ID="RadTextBoxExplanation" Runat="server"  
            Text="this is me testing" TextMode="MultiLine"  
            Width="750px" Rows="4"
        </telerik:RadTextBox><br /> 
        <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine">yes here we go</asp:TextBox> 

    Any help much appreciated.

  2. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 19 Apr 2009 Link to this post


    I may be misremembering, but I'm sure I read somewhere in here that you can't get rounded corners on RadTextboxes with this release. It's something that telerik are looking to add in a future release.

    What you can do is use a standard textbox, as you've discovered. You can extend the functionality of that textbox to be like that of a RadTextbox using the RadInputManager.

Back to Top