Buttons in the footer

2 posts, 1 answers
  1. Udi
    Udi avatar
    36 posts
    Member since:
    Sep 2010

    Posted 28 Oct 2010 Link to this post

    Hello,

    I have a calendar control that has a footer with 2 buttons.
    How can i display the buttons in the right side of the footer.

    i added the dir="rtl" attribute to the calendar control but it doesn't work.

    In the treeview control the buttons in the footer are display in the right side when i add the dir="rtl" attribute.

    Thanks
    Oren
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 29 Oct 2010 Link to this post

    Hi Oren,

    Placing the buttons in div and setting the style "float:right" will do the trick.

    Mark-up:
    <telerik:RadCalendar EnableMultiSelect="true" ShowRowHeaders="false" ID="RadCalendar3" runat="server" OnDayRender="RadCalendar3_DayRender">
        <FooterTemplate>
            <div style="float: right;">
                <input id="Button1" type="button" value="Button 1" />
                <input id="Button2" type="button" value="Button 2" />
            </div>
        </FooterTemplate>
    </telerik:RadCalendar>


    Regards,
    Shinu.
Back to Top