I need to configure such that when i pick a date from minicalender(aligned to left) i get it displayed at the header of scheduler.
Also i want to circle today’s date in the minicalender.
right now i have only scheduler in my project which covers the whole screen.
this is the schedulercontroller.cs
public ActionResult Index()
{
var scheduler = new DHXScheduler(this);
var mCalender = new MiniCalendar(“container_id”);
mCalender.Navigation = true;
scheduler.Calendars.Add(mCalender);
scheduler.LoadData = true;
scheduler.EnableDataprocessor = true;
scheduler.InitialDate = new DateTime(2013, 5, 5);
return View(scheduler);
}
what else code i can add to make the output appear as in the image:
many many thanks.
1)Also I meant to ask about the selecting date from scheduler, so that if i select a date from minicalender, it changes the header date of scheduler.
I have a problem with the minicalender and scheduler,
if i click the date in the minicalender, i want the next 7 days to appear in the scheduler week view.
But now it is default set from monday , tuesday… sunday.
I’m trying to change such that if i click a date on tuesday, the week view displays the next 7day days from tuesday, wednesay… monday
You would only JavaScript part of that page, it does not depends on used view engine and will be exactly the same in Razor as in ASPX
The only difference is scheduler rendering, this two aspx lines<%= Model.GenerateLinks() %>
<%= Model.GenerateHTML() %>will look following in razor@Html.Raw(Model.GenerateLinks())
@Html.Raw(Model.GenerateHTML())
Also you may check Scheduler.MVC4, the project contains the same samples although its in MVC4 Razor and requires Visual Studio 2012
related example:
Scheduler.MVC4\Views\CustomView\Index.cshtml