Link button does not occurs in Timeline view column header.

2 posts, 0 answers
  1. Deepak Saboji
    Deepak Saboji avatar
    14 posts
    Member since:
    Feb 2010

    Posted 08 Apr 2011 Link to this post

    Hi Team,

    I am using Timeline view with 7 time slots and each slot is representing as a day. My requirement is when I click on Timeline column header; Day view should open for that specific date. But the problem is that when I go to click any of the column headers in Timeline view, there is no link button occurs so I am unable to click any time slot. Please give me some suggestion so that I can implement this functionality.




  2. Peter
    Peter avatar
    6637 posts

    Posted 12 Apr 2011 Link to this post

    Hi Deepak,

    Here is one possible solution:
    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
           <script type="text/javascript">
               function pageLoad() {
                   var $ = $telerik.$;
                   var scheduler = $find('<%=RadScheduler1.ClientID %>');
                   var ajaxManager = $find('<%=RadAjaxManager1.ClientID %>');
                   $(".rsHorizontalHeaderTable th", scheduler.get_element()).click(function () { ajaxManager.ajaxRequest($(this).text()); });
       <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" 
               <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                       <telerik:AjaxUpdatedControl ControlID="RadScheduler1" />
       <telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedView="TimelineView">

    protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
           RadScheduler1.SelectedView = SchedulerViewType.DayView;
           RadScheduler1.SelectedDate = DateTime.Parse(e.Argument);

    Kind regards,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top