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

textbox width not working

2 Answers 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
eric
Top achievements
Rank 1
eric asked on 15 Dec 2009, 11:59 PM
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 Answers, 1 is accepted

Sort by
0
eric
Top achievements
Rank 1
answered on 16 Dec 2009, 12:02 AM
i just realized i put this in the wrong thread.... please feel free to move it
0
Accepted
Martin
Telerik team
answered on 16 Dec 2009, 08:25 AM
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.
Tags
General Discussions
Asked by
eric
Top achievements
Rank 1
Answers by
eric
Top achievements
Rank 1
Martin
Telerik team
Share this question
or