This is a migrated thread and some comments may be shown as answers.

appointment grips and prev/next appointment

1 Answer 20 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Chom
Top achievements
Rank 1
Chom asked on 27 Feb 2014, 01:30 AM
Hello,

I have two items that I need to get resolved.

1. Is there a way to hide the grips that appear on either side of the appointment which are used to drag the appointment item (see image).
2. Is there a way to customize the Previous Appointment or Next Appointment text in a tab that appears on the left and right side of the scheduler (see attached image).

Thank you.

Chom

1 Answer, 1 is accepted

Sort by
0
Ralitsa
Telerik team
answered on 27 Feb 2014, 09:09 AM
Hi Chom, 

Thank you for contacting us. 

1. Unfortunately there is no way to hide the grips of the appointment. 
2. You can customize the text of the NavigationElements in the RadScheduler. There is two ways how you can do it: 
a) set the Text property of NavigationElements 
this.radScheduler1.SchedulerElement.BackwardsNavigator.Text = "Backwards";
this.radScheduler1.SchedulerElement.ForwardNavigator.Text = "Forward";

b) use RadSchedulerLocalizationProvider 
public class CustomSchedulerLocalizationProvider : RadSchedulerLocalizationProvider
    {
        public override string GetLocalizedString(string id)
        {
            switch (id)
            {
                case RadSchedulerStringId.NextAppointment:
                    return "Next";
                case RadSchedulerStringId.PreviousAppointment:
                    return "Previous";
            }
 
            return string.Empty;
        }
    }
 
RadSchedulerLocalizationProvider.CurrentProvider = new CustomSchedulerLocalizationProvider();

In our article Translating Strings you can find sample implementation of a custom localization provider if you want to customize another control text and messages. 

I attached a sample demo project which demonstrates you both way. 

Regards,
Ralitsa
Telerik
Tags
Scheduler and Reminder
Asked by
Chom
Top achievements
Rank 1
Answers by
Ralitsa
Telerik team
Share this question
or