This is a migrated thread and some comments may be shown as answers.
navigation panel customize
5 Answers 46 Views
This is a migrated thread and some comments may be shown as answers.
rgf21
Top achievements
Rank 1
rgf21 asked on 23 Apr 2008, 04:02 PM
Hi. You said to me in this thread that This release of Scheduler will have a way of customize the navigation panel but I can't find it. can you tell me where can I find it? thanks

5 Answers, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 24 Apr 2008, 06:18 PM
Hello,

While full-fledged templates are not yet available for the Scheduler navigation panel, there are ways to customize it depending on what you are trying to achieve. Can you please provide some more details about the customizations you would like to apply to the navigation panel?

Greetings,
Dimitar Milushev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
rgf21
Top achievements
Rank 1
answered on 28 Apr 2008, 09:13 AM
In my case I need to have two limit dates. I want to put two more buttons next to the 2 ones that already exist. One is to go to the min date and another to max date.
Now we have < >, but I need something like: |< < > >|.
0
Peter
Telerik team
answered on 28 Apr 2008, 02:40 PM
Hi Ricardo,

You can set the SelectedDate property from code behind to achieve this functionality. For example:

<asp:Button ID="Button1" runat="server" Text="|<" OnClick="Button1_Click" /> 
<asp:Button ID="Button2" runat="server" Text=">|" OnClick="Button2_Click" /> 

protected void Button1_Click(object sender, EventArgs e)  
{  
    RadScheduler1.SelectedDate = new DateTime(2008, 4, 1);  
}  
protected void Button2_Click(object sender, EventArgs e)  
{  
    RadScheduler1.SelectedDate = new DateTime(2008, 5, 30);  


Regards,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
rgf21
Top achievements
Rank 1
answered on 29 Apr 2008, 08:53 AM
Hi. Thanks but I need that the < > buttons limited to the min and max date also. When I reach the limit weeks the buttons shouldn't allow more to be clicked.
0
Peter
Telerik team
answered on 30 Apr 2008, 05:16 PM


You can try the following:

<asp:Button ID="Button2" runat="server" Text="<" OnClick="Button2_Click" /> 
<asp:Button ID="Button1" runat="server" Text=">" OnClick="Button1_Click" /> 


protected void Button2_Click(object sender, EventArgs e)  
    {  
        if (RadScheduler1.SelectedDate.AddDays(-1) > minDate)              
        RadScheduler1.SelectedDate = RadScheduler1.SelectedDate.AddDays(-1);  
    }  
    protected void Button1_Click(object sender, EventArgs e)  
    {  
        if(RadScheduler1.SelectedDate.AddDays(1) < maxDate)  
        RadScheduler1.SelectedDate = RadScheduler1.SelectedDate.AddDays(1);  
    } 


Greetings,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Asked by
rgf21
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
rgf21
Top achievements
Rank 1
Peter
Telerik team
Share this question
or