RadTextBox not visible inside a RadDock

4 posts, 0 answers
  1. Gabriel Beauchamp
    Gabriel Beauchamp avatar
    41 posts
    Member since:
    Jan 2008

    Posted 19 Jun 2008 Link to this post

    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>
  2. Kevin Babcock
    Kevin Babcock avatar
    189 posts
    Member since:
    Mar 2007

    Posted 20 Jun 2008 Link to this post

    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:

    1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %> 
    2  
    3 <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
    4  
    5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    6  
    7 <html xmlns="http://www.w3.org/1999/xhtml"
    8 <head runat="server"
    9     <title>Untitled Page</title> 
    10 </head> 
    11 <body> 
    12     <form id="form1" runat="server"
    13         <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
    14  
    15         <telerik:RadDockLayout ID="RadDockLayout1" runat="server"
    16             <telerik:RadDockZone ID="RadDockZone1" runat="server"  
    17                 Height="300px"  
    18                 Width="500px" 
    19                 Orientation="Vertical"
    20                 <telerik:RadDock ID="RadDock1" runat="server"  
    21                     Width="300px" 
    22                     Title="Test"
    23                     <ContentTemplate> 
    24                         Write something: <br /> 
    25                         <telerik:RadTextBox ID="RadTextBox1" runat="server" 
    26                             TextMode="MultiLine" 
    27                             Height="150px" 
    28                             Width="300px"
    29                         </telerik:RadTextBox> 
    30                     </ContentTemplate> 
    31                 </telerik:RadDock> 
    32             </telerik:RadDockZone> 
    33         </telerik:RadDockLayout> 
    34      
    35     </form> 
    36 </body> 
    37 </html> 
    38  

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gabriel Beauchamp
    Gabriel Beauchamp avatar
    41 posts
    Member since:
    Jan 2008

    Posted 20 Jun 2008 Link to this post

    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>
  5. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 23 Jun 2008 Link to this post

    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
Back to Top