Add new customize RadCalendar to a the RadDatePicker

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

    Posted 03 Oct 2010 Link to this post

    Hello,

    I would like to add a footer template to a calendar control and then to add the new calendar,
    to a RadDatePicker control.
    i need to do it in the code behind (not in the aspx page).
    My problem is to combine between the calendar control and the datepicker control in the code behind.

    example:
    the following code i would like to pass to the code behind.

     

    <telerik:RadDatePicker ID="RadDatePicker10" runat="server" Width="140px" Skin="Forest">

     

     

                <Calendar ID="Calendar1" runat="server" Skin="Forest">

     

     

                    <HeaderTemplate>

     

     

                        <div style="width: 100%; text-align: center; background-color: white;" >

     

     

                            <input id="Button1" type="button" value="Today" onclick="GoToToday()" />

     

     

                        </div>

     

     

                    </HeaderTemplate>

     

     

                </Calendar>

     

     

    </telerik:RadDatePicker>

    Thank you,
    Oren

     

  2. Dimo
    Admin
    Dimo avatar
    8471 posts

    Posted 04 Oct 2010 Link to this post

    Hello Oren,

    Please use your first forum thread on the same topic:

    http://www.telerik.com/community/forums/aspnet-ajax/calendar/today-button.aspx

    Regards,
    Dimo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top