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

Buttons in the footer

1 Answer 53 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Udi
Top achievements
Rank 1
Udi asked on 28 Oct 2010, 01:53 PM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 29 Oct 2010, 07:40 AM
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.
Tags
Calendar
Asked by
Udi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or