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

FormDecorator - HTML TextBox gets rounded corned, RadTextBox does not

1 Answer 170 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 18 Apr 2009, 01:43 PM
Hello,

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> 
<asp:Content ID="Content2" ContentPlaceHolderID="cphExamTitle" runat="Server"
    <center> 
        <class="subhead"
            Demo Exam Mode</p> 
    </center> 
</asp:Content> 
<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"  
        CssClass="showanswers"  
        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 %>' 
        CssClass="question"></asp:Label> 
    <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"
    </asp:CheckBoxList> 
    <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> 
</asp:Content> 

Any help much appreciated.

Thanks,
Paul

1 Answer, 1 is accepted

Sort by
0
Stuart Hemming
Top achievements
Rank 2
answered on 19 Apr 2009, 11:54 AM
Paul,

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.

--
Stuart
Tags
FormDecorator
Asked by
Paul
Top achievements
Rank 1
Answers by
Stuart Hemming
Top achievements
Rank 2
Share this question
or