Using DevExpress controls without them inserting a line break

 

Using DevExpress controls and are frustrated that whenever you put a control in a line it inserts a line break?

Here's a fix:

Create a css class for the controls (or just add this attribute to an existing css class you might be using):

(I slightly changed this code on the 14 October 2008 so that it renders the controls correctly in firefox.)

 

.devExpressLinkBreakFix
{
    display: inline-table;
}
 
Then assign that class to the offending control:
 
<dxe:ASPxTextBox CssClass="devExpressLinkBreakFix" runat="server" />
 

Technorati Tags: ,,