Welcome Guest Search | Active Topics | Sign In | Register

DatePickers won't render side by side Options
DeanBlakely
Posted: Monday, December 8, 2008 9:50:06 AM
Rank: Advanced Member
Groups: Member

Joined: 2/20/2008
Posts: 34
I have two datepickers sitting side by side inside a very wide <td>. It's wide enough to hold many of them. But when it renders in I.E. the second one is below the first one. I've tried explicits widths and other things to no avail. No other control seems to behave like this.

Is there a fix?
Thanks,
Gary
eo_support
Posted: Monday, December 8, 2008 1:30:33 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

DatePicker is rendered as a block element. In order to force it as inline element, you can add style="display:inline" to it. For example:

Code: HTML/ASPX
<eo:DatePicker runat="server" 
    ID="DatePicker1" style="display:inline">
</eo:DatePicker>
<eo:DatePicker runat="server" 
    ID="DatePicker2" style="display:inline">
</eo:DatePicker>


Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.