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

RadTextBox not visible inside a RadDock

3 Answers 89 Views
Input
This is a migrated thread and some comments may be shown as answers.
Gabriel Beauchamp
Top achievements
Rank 2
Gabriel Beauchamp asked on 19 Jun 2008, 08:31 PM
The RadTextBox is not visible when inside a RadDock when viewing the page with IE7. It works fine in FireFox. Here is an example:

<telerik:RadDockLayout ID="RadDockLayout1" runat="server">
            <telerik:RadDockZone ID="RadDockZone1" runat="server" Width="400px" Orientation="Vertical">
                <telerik:RadDock ID="RadDock1" runat="server" Title="Test">
                    <ContentTemplate>
                        Write something:<br />
                        <telerik:RadTextBox ID="RadTextBox1" runat="server" TextMode="MultiLine" Height="150px" Width="300px" />
                    </ContentTemplate>
                </telerik:RadDock>
            </telerik:RadDockZone>
        </telerik:RadDockLayout>

3 Answers, 1 is accepted

Sort by
0
Kevin Babcock
Top achievements
Rank 1
answered on 20 Jun 2008, 06:28 AM
Hi Gabriel,

I tried to duplicate your problem but was unsuccessful. I tested the code you gave in IE7 using RadControls for ASP.NET AJAX Q1 2008 SP1 and the recently released SP2. The RadTextBox was visible inside the RadDock.

Here is my code:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!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>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server"
        <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
 
        <telerik:RadDockLayout ID="RadDockLayout1" runat="server"
            <telerik:RadDockZone ID="RadDockZone1" runat="server"  
                Height="300px"  
                Width="500px" 
                Orientation="Vertical"
                <telerik:RadDock ID="RadDock1" runat="server"  
                    Width="300px" 
                    Title="Test"
                    <ContentTemplate> 
                        Write something: <br /> 
                        <telerik:RadTextBox ID="RadTextBox1" runat="server" 
                            TextMode="MultiLine" 
                            Height="150px" 
                            Width="300px"
                        </telerik:RadTextBox> 
                    </ContentTemplate> 
                </telerik:RadDock> 
            </telerik:RadDockZone> 
        </telerik:RadDockLayout> 
     
    </form> 
</body> 
</html> 
 

I've also taken this screen shot to show the code working in IE7.

Perhaps if you gave more specifics, or more of your code, I can better help you solve the problem you are having.

Sincerely,
Kevin Babcock
0
Gabriel Beauchamp
Top achievements
Rank 2
answered on 20 Jun 2008, 12:48 PM
I found out that the problem was when you have a FormDecorator. In IE7 the RadTextBox is not visible. Copy and paste this exact code to see what I mean:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test2.aspx.cs" Inherits="test2" %>

<!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>Untitled Page</title>
    <link href="css/FormDecorator.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
   
        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="RadioButtons,CheckBoxes" EnableEmbeddedSkins="true" Skin="Default" />
       
        <telerik:RadDockLayout ID="RadDockLayout1" runat="server">
            <telerik:RadDockZone ID="RadDockZone1" runat="server" Width="400px" Orientation="Vertical">
                <telerik:RadDock ID="RadDock1" runat="server" Title="Test">
                    <ContentTemplate>
                        Write something:<br />
                        <telerik:RadTextBox ID="RadTextBox1" runat="server" TextMode="MultiLine" Height="150px" Width="300px" />
                    </ContentTemplate>
                </telerik:RadDock>
            </telerik:RadDockZone>
        </telerik:RadDockLayout>
   
    </form>
</body>
</html>
0
Tervel
Telerik team
answered on 23 Jun 2008, 01:00 PM
Hello Gabriel,

There is a workaround provided for this problem in the following forum thread:
http://www.telerik.com/community/forums/thread/b311D-bekebd.aspx

In the attached test page this particular problem has been marked as #2.


Kind regards,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Input
Asked by
Gabriel Beauchamp
Top achievements
Rank 2
Answers by
Kevin Babcock
Top achievements
Rank 1
Gabriel Beauchamp
Top achievements
Rank 2
Tervel
Telerik team
Share this question
or