Problem with saperate color for weak ends and non business hours

2 posts, 0 answers
  1. Maddela
    Maddela avatar
    27 posts
    Member since:
    Aug 2011

    Posted 12 Aug 2011 Link to this post

                      
    Hi,
                     We are using rad scheduler to show particular appointments, here the problem is it showing separate color for weak ends and non business hours, when some default themas were applied. So we do not need that separate color. 

    • How can we remove that separate color for both weak ends and non business hours ?

                    And we already followed some other way to implement this one, below is the code to represent the way which we followed.

    In aspx page we give one style :-

    <style type="text/css">
        .MyClass
        {
            background-color: White !important;
        }
    </style>

    In aspx.cs page we wrirren the followed code :-

     protected void RadScheduler1_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
            {
                if (RadScheduler1.SelectedView == SchedulerViewType.WeekView || RadScheduler1.SelectedView == SchedulerViewType.DayView)
                {
                    if (e.TimeSlot.Start.Date.DayOfWeek == DayOfWeek.Saturday || e.TimeSlot.Start.Date.DayOfWeek == DayOfWeek.Sunday)
                    {
                        e.TimeSlot.CssClass = "MyClass";
                    }
                }
            }

    OutPut :-
            Please find attached for out put. But this is not the exact output which we are expecting.
           If u observe my scree shot u will come to know that separate colors, i want every thing should be in white color.

    Kindly help me out from this.
  2. Plamen
    Admin
    Plamen avatar
    2933 posts

    Posted 17 Aug 2011 Link to this post

    Hello Maddela,

    You can have a look at our KB article about the special days or timeslots.

    Hope this is helpful.

    Kind regards,
    Plamen Zdravkov
    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.

Back to Top