customize navigation bar

This code ,

@Html.Raw(Model.GenerateLinks())

generate links of navigation bar.

But if I want to set my own navigation bar buttons?

I have tried to comment the generateLinks line and code the buttons I need, but it doesn’t work.

[code]


<div class='dhx_cal_prev_button'>&nbsp;</div>
<div class='dhx_cal_next_button'>&nbsp;</div>
<div class='dhx_cal_today_button'></div>
<div class='dhx_cal_date'></div>
<div class='dhx_cal_tab' name='day_tab' style='left:204px;'></div>
<div class='dhx_cal_tab' name='workweek_tab' style='left:268px;'></div>
[/code]

I’ve checked you can remove and add views:

sched.Views.Clear(); sched.Views.Add(new DayView() { Label = "Day" }); sched.Views.Add(new WorkWeekView(){Label = "Work Week" });

But, custom buttons like “Allow drag & resize”, “skip to date [x]”, etc… How?

And how to set default view?

Thanks

scheduler.InitialView = “viewname”;

Thanks!!

Is it possible to include your own buttons in navigation bar?

Sorry, but it doesn’t works:

            sched.Views.Add(new DayView() { Label = "Día",Name="Dia" });
            sched.Views.Add(new WorkWeekView(){Label = "W-Week",Name="Semana" });

            sched.InitialView = "Dia";

It works, but if you get de default view name, can not initalize it.

            sched.Views.Add(new DayView() { Label = "Día"});
            sched.InitialView = "day";

But not,

            sched.Views.Add(new DayView() { Label = "Día", Name="Dia"});
            sched.InitialView = "Dia";

yes, u need to add the default name of that view
Yes it is possible to add your own buttons to change the views:
try this on click event of a button to display weekview

 sched.setCurrentView(new Date(), "week");