4 Answers, 1 is accepted
0
Hi Mohamed,
You can disable the back button by this Css setting:
Hope this helps.
Greetings,
Veronica Milcheva
the Telerik team
You can disable the back button by this Css setting:
.rsPrevDay
{
visibility
:
hidden
;
}
Hope this helps.
Greetings,
Veronica Milcheva
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.
0
Mohamed
Top achievements
Rank 1
answered on 02 May 2011, 01:58 PM
Thanks Veronica
it works with me but I found functionality that let the user to go back in the scheduler, It is the button beside today link that display a calender and the user can select a day before today so could you give me a solution to disable selection of previous day or disable this button at all to prevent the user from going back in the scheduler
Thanks again
it works with me but I found functionality that let the user to go back in the scheduler, It is the button beside today link that display a calender and the user can select a day before today so could you give me a solution to disable selection of previous day or disable this button at all to prevent the user from going back in the scheduler
Thanks again
0
Hi Mohamed,
Yes, I understand your requirement. You can subscribe to the OnNavigationCommand server-side event and check whether the command value is NavigateToPreviousPeriod. In that case you can cancel the event. Here's the code for this:
Hope this helps.
Kind regards,
Veronica Milcheva
the Telerik team
Yes, I understand your requirement. You can subscribe to the OnNavigationCommand server-side event and check whether the command value is NavigateToPreviousPeriod. In that case you can cancel the event. Here's the code for this:
protected
void
RadScheduler1_NavigationCommand(
object
sender, SchedulerNavigationCommandEventArgs e)
{
if
(e.Command == SchedulerNavigationCommand.NavigateToPreviousPeriod && RadScheduler1.SelectedView == SchedulerViewType.DayView)
e.Cancel =
true
;
}
Hope this helps.
Kind regards,
Veronica Milcheva
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.
0
Mohamed
Top achievements
Rank 1
answered on 05 May 2011, 09:30 AM
Thanks Veronica it works