textbox width not working

3 posts, 1 answers
  1. eric
    eric avatar
    35 posts
    Member since:
    Mar 2009

    Posted 15 Dec 2009 Link to this post

    When I utilize the radformdecorator control my textboxes no longer recognize their width attribute which is set to a percentage value.  If I change the percentage width to a pixel width it then works.  How can I correct this?

    The issue is in the edit form (usercontrol) of my radgrid.  The radgrid is encapsulated by my radformdecorator so the user control is inheriting the decorator.  The textboxes are txtPlus and txtDelta.  Any ideas on what is going on?

            <asp:Table Width="100%" runat="server">  
                <asp:TableRow> 
                    <asp:TableCell Width="45%">  
                        What did they do well?  
                    </asp:TableCell> 
                    <asp:TableCell Width="45%">  
                        What can they improve on?  
                    </asp:TableCell> 
                </asp:TableRow> 
                <asp:TableRow> 
                    <asp:TableCell Width="45%">  
                        <asp:TextBox ID="txtPlus" runat="server" TextMode="MultiLine" Rows="5" Width="90%"></asp:TextBox> 
                    </asp:TableCell> 
                    <asp:TableCell Width="45%">  
                        <asp:TextBox ID="txtDelta" runat="server" TextMode="MultiLine" Rows="5" Width="90%"></asp:TextBox> 
                    </asp:TableCell> 
                </asp:TableRow> 
            </asp:Table> 
  2. eric
    eric avatar
    35 posts
    Member since:
    Mar 2009

    Posted 15 Dec 2009 Link to this post

    i just realized i put this in the wrong thread.... please feel free to move it
  3. DevCraft banner
  4. Answer
    Martin
    Admin
    Martin avatar
    585 posts

    Posted 16 Dec 2009 Link to this post

    Hello eric,

    Due to the current implementation of input and fieldset styling it is not possible to set width in percentage, and unfortunately I cannot provide you with a fix. We are considering to add such functionality, but at present the only thing that can be done is to set width in pixels.
     
    All the best,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top