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

Disabling arrows on appointments overlapping the edge of the timeline view

6 Answers 141 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Testman
Top achievements
Rank 1
Testman asked on 13 Apr 2011, 01:49 PM
I have a RadScheduler that's showing meetings using the timeline view. Meetings that overlap the edge of the view gets an arrow that you can click to move the view and see the rest of that meeting. A great feature, but right now I need to disable it. How do I accomplish that? I wouldn't mind keeping the arrows and just disabling the action that gets performed.

Thanks

6 Answers, 1 is accepted

Sort by
0
Accepted
Veronica
Telerik team
answered on 14 Apr 2011, 08:13 AM
Hello Testman,

You can acces the right and left arrows in the timelineview and hide them by the following css :

.rsArrowLeft, .rsArrowRight 
        
            visibility: hidden
        }

Hope this helps.

Regards,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Testman
Top achievements
Rank 1
answered on 14 Apr 2011, 05:26 PM
Works like a charm.

Thanks
0
Velu
Top achievements
Rank 1
answered on 30 Dec 2014, 08:50 PM
How about removing the up arrow and down arrow in day view. I tried .rsPrevDay and .rsNextDay and is not working.
0
Plamen
Telerik team
answered on 02 Jan 2015, 06:28 AM
Hello,

Here is the CSS that worked at my side:
.rsArrowWrap {
     display:none;
     }

Hope this will be helpful.

Regards,
Plamen
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Bicky
Top achievements
Rank 1
answered on 21 Apr 2015, 05:03 PM

Hi All,

Could you tell me how to make those left and right arrows just Read only or visible but disable so that users won't be able to click on it? 

Thanks

Bicky

 

0
Plamen
Telerik team
answered on 23 Apr 2015, 05:45 AM
Hi Bicky,

Here is the code that i added to achieve such behavior at my side:
(function() {
        var $ = $telerik.$,
            $T = Telerik.Web.UI,
            $TS = $T.Scheduler;
 
        $T.RadScheduler.prototype._onPreviousDayClick = function(e) {
            e.stopPropagation();
            e.preventDefault();
        }
        $T.RadScheduler.prototype._onNextDayClick = function(e) {
            e.stopPropagation();
            e.preventDefault();
        }
        })()

Hope this will help you solve the issue.

Regards,
Plamen
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Scheduler
Asked by
Testman
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Testman
Top achievements
Rank 1
Velu
Top achievements
Rank 1
Plamen
Telerik team
Bicky
Top achievements
Rank 1
Share this question
or