Center align RadDateTimePicker in a table

2 posts, 0 answers
  1. Mark
    Mark avatar
    37 posts
    Member since:
    Jan 2015

    Posted 08 Jan 2015 Link to this post

    I have the following code in a table and the control is always left aligned:

    <td style="text-align: center">
         <telerik:RadDateTimePicker ID="radDtStartDate" runat="server">

    How can I get this to be center aligned?

  2. Angel Petrov
    Angel Petrov avatar
    1002 posts

    Posted 13 Jan 2015 Link to this post

    Hello Mark,

    In order to center the picker you can try out the following

    <td style="text-align: center; vertical-align: middle;">
                         <telerik:RadDateTimePicker ID="radDtStartDate" runat="server">
    More information on how to center an element inside a cell can be found here.

    Angel Petrov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top