5 Answers, 1 is accepted
0
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
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: |< < > >|.
Now we have < >, but I need something like: |< < > >|.
0
Hi Ricardo,
You can set the SelectedDate property from code behind to achieve this functionality. For example:
Regards,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
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
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