Exemple #1
0
 public override string GetLocalizedString(ASPxSchedulerStringId id)
 {
     if (id == ASPxSchedulerStringId.Form_ButtonDelete)
     {
         return("Cancel Appointment");
     }
     if (id == ASPxSchedulerStringId.Form_Label)
     {
         return("Priority");
     }
     return(base.GetLocalizedString(id));
 }
Exemple #2
0
        public override string GetLocalizedString(ASPxSchedulerStringId id)
        {
            string ret = "";

            switch (id)
            {
            case DevExpress.Web.ASPxScheduler.Localization.ASPxSchedulerStringId.CaptionViewNavigator_Today:
                return(DateTime.Now.Date.ToShortDateString());

            default:
                ret = base.GetLocalizedString(id);
                break;
            }
            return(ret);
        }