minicalender and scheduler

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:


Hi,
your code allows selecting date in scheduler with minicalendar.
If you have markup like following:[code]

@Html.Raw(Model.Render())
[/code]where Model is instance of DHXScheduler class, page will look pretty similar to the image from your post

many many thanks. :slight_smile:
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.

2)to circle the today’s date in minicalender

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

Hi,

appearence of selected date can be changed with following css class .dhx_calendar_click

You need to implement custom view that would allow that, see Scheduler.MVC3/CustomView/Index example

its a aspx file. i use razor , where can i get .cshtml file for the same?

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

I would like to pick the date of scheduler from external calender.
from which function does minicalender pass vaules to scheduler?

minicalendar uses

scheduler.setCurrentView(date) where ‘date’ is a selected date of the calendar