This is a migrated thread and some comments may be shown as answers.

how to disable day view button in radschedule control

12 Answers 604 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ukung
Top achievements
Rank 1
ukung asked on 06 Sep 2007, 04:54 AM
If I want to disable day view button(or the other button) in radscheduler control, what should i do. If it possible to do?

12 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 07 Sep 2007, 05:52 PM
Hello Ukung,

The buttons are not individually controllable. You can hide the view change tabs by setting ShowViewChangeTabs to false.

The other option is to handle the NavigationCommand event and cancel it when switching to day view like this:

protected void RadScheduler1_NavigationCommand( object sender, SchedulerNavigationCommandEventArgs e )
{
    if( e.Command == SchedulerNavigationCommand.SwitchToDayView )
    {
        e.Cancel = true;
    }
}

Greetings,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
ukung
Top achievements
Rank 1
answered on 08 Sep 2007, 02:46 AM
ok, thanks you for the reply

mybe in next realese the viewchange tab can be costumizeable
0
nick
Top achievements
Rank 1
answered on 19 Sep 2007, 10:18 PM
One thing you can do is hide the Day button using CSS:

.rsHeaderDay { display: none !important; }

Hope this helps.
0
T. Tsonev
Telerik team
answered on 21 Sep 2007, 06:22 AM
Hi Ukung,

Nick is right, you will be able to hide it using CSS. However we do not render exactly this class, the correct selector is:
.RadScheduler_Default .rsHeader .rsFirst { visibility: hidden; } 

We will probably introduce some additional classes to make writing such selectors easier.

Greetings,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Corey Alguire
Top achievements
Rank 1
answered on 14 May 2008, 08:39 AM
I have been checking through the forums and documentation for changes since this thread started, but I didn't see anything. It seems even as of the Q1 2008 release, the CSS hack is the only way to disable navigation to a view without removing the entire navigation strip. For the future, I would really like to see the ability to enable/disable individual views. With the latest release, if I want to enable the navigation tabs, I am stuck with the added Timeline View, which for my purposes is not an option. As it stands, I either have to remove the Navigation strip completely and create my own view navigation, or rely on the CSS hack.

In general, I love your controls and have been using them for years. I also like the direction Scheduler is taking. However, I would say it still definitely has some weak spots. For the future, I would really like to see properties to enable/disable views (among other things).
0
T. Tsonev
Telerik team
answered on 14 May 2008, 04:23 PM
Hi Corey,

Thank you for the feedback. We have introduced such properties in the Q1 release - each view can be disabled using the dedicated nested tag for that view. For example:

<telerik:RadScheduler ID="RadScheduler1" runat="server"
    <DayView UserSelectable="false" /> 
</telerik:RadScheduler> 

We are constantly working on improving RadScheduler and our documentation might be a bit lagging at times. Please, excuse us for the inconvenience.

Sincerely yours,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Corey Alguire
Top achievements
Rank 1
answered on 15 May 2008, 10:37 AM
Ah ha! Thank you for pointing this out to me. Removed the CSS hack and disabled the Timeline view as suggested, and it works like a charm.
0
Kevin
Top achievements
Rank 1
answered on 12 Sep 2012, 11:23 PM
Thanks for the tip.  I've been looking for a way to disable those selectables for two days now and started to feel the frustrations.  I also like the the CSS hack too.  Thank you everyone who reply to the threads.  Genius !!!
0
Kevin
Top achievements
Rank 1
answered on 12 Sep 2012, 11:24 PM
Thanks Nick.  Stroke of Genius ...
0
Bebins
Top achievements
Rank 1
answered on 20 Feb 2015, 04:52 AM
I filled the appointment  form but if i double click anywhere then the from gets refreshed how to overcome this
0
Chandz
Top achievements
Rank 2
answered on 03 Feb 2016, 11:30 AM
Hello Telerik team,
 I have a Radscheduler and an individual button, in a web form.
when in week view of the scheduler, it displays the first week (i.e)  jan 3 2016 sunday to jan 9 2016 saturday,
i want to view the next week on button click (i.e)  jan 10 2016 sunday to jan 16 2016 saturday,
telerik has davview, weekview, monthview, agendaview and timelineview but not nextweekview..
Googling does not help me in this case.

Thanks in advance..
Hope you people reply a bit faster.
0
Nencho
Telerik team
answered on 05 Feb 2016, 08:17 AM
Hello Chandesh,

You can easily observe the next view using the navigation buttons of the RadSheduler. This functionality is demonstrated in the Overview of the control in our online demos below:

http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx


In addition, I noticed that you have submitted your inquiry on a numerous forum thread, where different topics are discussed. I would like to ask you to avoid such practice, because this is changing the topic of the threads and they become quite inconsistent. Also, with such approach the replies would become duplicated and it is quite hard to discuss the problem in a consistent manner.

A best practice would be to submit a separate thread, where you can post your question and we can focus on it, while the community still have a chance to jump into the discussion.

Thank you in advance for your understanding.

Regards,
Nencho
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Scheduler
Asked by
ukung
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
ukung
Top achievements
Rank 1
nick
Top achievements
Rank 1
Corey Alguire
Top achievements
Rank 1
Kevin
Top achievements
Rank 1
Bebins
Top achievements
Rank 1
Chandz
Top achievements
Rank 2
Nencho
Telerik team
Share this question
or