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

RadTextBox width as a % when inside RadPane

1 Answer 95 Views
Input
This is a migrated thread and some comments may be shown as answers.
Scott R
Top achievements
Rank 1
Scott R asked on 08 Jan 2009, 09:41 PM
I'm having some trouble with the Q3 2008 (2008.3.1125) RadTextBox control when it is inside a RadPane. In this scenario, if I set the width to a percentage the textbox always renders to its minimum width. Moving the RadTextBox outside of the RadPane solves the problem. Setting the width in pixels also solves the problem.

Also, the problem is only with IE (7 & 8). Firefox and Chrome both behave correctly.

Here's a short example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title></title
</head> 
<body> 
    <form id="form1" runat="server"
     
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
    </telerik:RadScriptManager> 
 
    <telerik:RadSplitter ID="MainSplitter" runat="server" Orientation="Horizontal" Width="100%" PanesBorderSize="0" BorderSize="0" VisibleDuringInit="false"
        <telerik:RadPane ID="RadPane1" runat="server" Width="100%"
            <telerik:RadTextBox ID="Description" runat="server" Width="50%" TextMode="MultiLine" /> 
        </telerik:RadPane> 
    </telerik:RadSplitter> 
 
    <telerik:RadTextBox ID="RadTextBox1" runat="server" Width="50%" TextMode="MultiLine" /> 
 
    </form> 
</body> 
</html> 

I found this these two threads:

http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/q3-2008-dll-problems.aspx
http://www.telerik.com/community/forums/aspnet-ajax/splitter/problem-with-visibleduringinit-false.aspx

but that work-around doesn't seem to fix this width problem.

Any advice is greatly appreciated.


1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 09 Jan 2009, 01:54 PM
Hello Scott R,

This problem will be fixed in the coming Service Pack 2 (due some time next week).

Best wishes,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Input
Asked by
Scott R
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or