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

RadDatePicker is displaying several pixels higher than adjacent controls

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 21 Feb 2012, 05:36 PM
Hi,
 When I drop a RadDatePicker control onto a webpage, it never vertically aligns properly with other controls on the rendered page (looks just fine via VS design view):

 See Attached picture and notice the Rad date picker input box is several pixels aboe all the rest.

This can be easily reproduced by dropping a RadTextBox, then drop a RadDatePicker, view the page in a browser and see they don't align vertically.

What can I do to properly align this control with other controls?

Thanks,
~Patrick

1 Answer, 1 is accepted

Sort by
0
Patrick
Top achievements
Rank 1
answered on 21 Feb 2012, 06:26 PM
Setting up relative positioning and dropping it by "1pt" does the trick.
.DatePickerVerticalAlignment
{
     position: relative;
     top: 1pt;
}


Thanks,
Tags
General Discussions
Asked by
Patrick
Top achievements
Rank 1
Answers by
Patrick
Top achievements
Rank 1
Share this question
or