Problems after updating version

Hi,
my client has sold finally your scheduler after my good feedback.
I have been testing with version before 2
Now we have installed commercial version into our project but now we have some problems:

  • Language: we have seen that there are not locale folder and then no localization files, althought we have setted language to Spanish it shows all scheduler in english

  • Templates: in Tooltips we had a template like that:

var template = "<b>{text}</b><br/><b>" + ResourceLanguage.GetString("fechainicio") + ": </b>"; template += "'+scheduler.templates.tooltip_date_format(start)+'<br/><b>" + ResourceLanguage.GetString("fechafin") + ": </b>"; template += "'+scheduler.templates.tooltip_date_format(end) +'"; Scheduler.Templates.tooltip_text = template;

Now it doesnt work, it shows the literal : ‘+scheduler.templates.tooltip_date_format(start)+’ as it was text.

Hello,
First of all, terribly sorry for the issues.
Please redownload the package, it should contain locale files now

As for tooltips, template engine has been changed in v.2.0, and now escaping of js code with single quotes doesn’t work. You need to wrap inline code by the ‘<%= %>’ tags
So the template will look like following:

Scheduler.Extensions.Add(SchedulerExtensions.Extension.Tooltip); var template = "<b>{text}</b><br/><b>" + ResourceLanguage.GetString("fechainicio") + ": </b>"; template += "<%= scheduler.templates.tooltip_date_format(start) %><br/><b>" + ResourceLanguage.GetString("fechafin") + ": </b>"; template += "<%= scheduler.templates.tooltip_date_format(end) %>"; sched.Templates.tooltip_text = template;

Hi thanks, now i got another great problem.
I got this code from old version:

[code]Scheduler.Views.Clear();

            Scheduler.Views.Add(new WeekAgendaView());
            Scheduler.Views.Add(new AgendaView());
            Scheduler.Views.Add(new YearView());
            Scheduler.Views.Add(new MonthView());
            Scheduler.Views.Add(new WeekView());
            Scheduler.Views.Add(new DayView());[/code]

Now it just shows me Year, month, week and day tabs, Agenda and weekAgenda doesnt show, hast it changed too?

Thanks in advance.

Looks like scheduler doesn’t assign position of agenda and week agenda tabs, they have the same position as year tab and can’t be seen. We will fix it in the nearest time. As a quick solution you can set position explicitly

[code] Scheduler.Views.Clear();

        Scheduler.Views.Add(new WeekAgendaView() { TabPosition = 360});
        Scheduler.Views.Add(new AgendaView() { TabPosition = 440 });
        Scheduler.Views.Add(new YearView());
        Scheduler.Views.Add(new MonthView());
        Scheduler.Views.Add(new WeekView());
        Scheduler.Views.Add(new DayView());[/code]

sorry for these inconveniences