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

RadScheduler CSS Sheet Partial Execution Issue

4 Answers 81 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Adnan Aslam
Top achievements
Rank 1
Adnan Aslam asked on 24 Jan 2011, 01:03 PM
Hello,

I have somehow managed to run CSS ! but problem is, when the following function get fire ; it only change the first appointment CSS style and leave the rest. the same thing happen when i use rsCategory tag to assign to CSS class, as mentioned in example 2 below. Please advice where i am doing mistake or missing anything ...

Regards
Adnan.

1-

For Each resource As Telerik.Web.UI.Resource In e.Appointment.Resources
            If resource.Type = "Room" Then
                Label1.Text += "<br/>" + resource.Text
                e.Appointment.CssClass = resource.Text.Replace(" ", "_")
            End If
        Next


2 -

For Each resource As Telerik.Web.UI.Resource In e.Appointment.Resources
            If resource.Type = "Room" Then
         '        'e.Appointment.CssClass = resource.Text.Replace(" ", "_")

               If resource.Text = "SLC 107" Then
                   e.Appointment.CssClass = "rsCategoryRed"
               End If
             If resource.Text = "SLC 108" Then
                 e.Appointment.CssClass = "rsCategoryGreen"
               End If
            


        '    End If
        'Next

4 Answers, 1 is accepted

Sort by
0
Adnan Aslam
Top achievements
Rank 1
answered on 24 Jan 2011, 03:36 PM
Hello,

Can anyone tell Recurrence Table attribute as if i try to delete appointment it states make sure parent appointment with id=0 exisit. I am only using Appointment Table in Database and there is no Recurrence table if it is happening due to it then please pass the attributes of Recurrence Table. Another thing, in Trial Video of Radscheduler that how to build it initially, appointment table contain Recurrence ID and RecurrenceRule; will both RecurrenceID and RecurrenceRule will behave as Foreign attribute ? ...please explain.

Regards
Adnan

Cannot locate the parent of appointment with ID = '7'. Ensure that the parent appointment with ID = '0' exists and is loaded.

0
Veronica
Telerik team
answered on 25 Jan 2011, 09:15 AM
Hi Adnan Aslam,

Please take a look at this help topic for the database structure of the RadScheduler. As for the error you receive - this is a known issue and it's fixed in version 2010.3. 1215:

  • Fixed: Appointment does not detach its RecurrentParentID when the master appointment is demoted to a regular one.
  • All the best,
    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
    Adnan Aslam
    Top achievements
    Rank 1
    answered on 25 Jan 2011, 10:18 AM
    Hello,

    Much appreciated for replying with reference. I searched your telerik website to get download link for the said version but i could't. Would you please assist in finding the download link or any utility that can upgrade my trial version to it. Telerik version that iam using is v.2010.3.1215.35, does it include the updated toolbox ?

    Hope to hear you soon.

    Adnan
    0
    Accepted
    Veronica
    Telerik team
    answered on 25 Jan 2011, 11:25 AM
    Hi Adnan Aslam,

    Yes, the version you use includes the fix. Please check if your database structure matches this from my previous post.

    If this doesn't helps could you please send me your project so I can inspect it and help you?

    Best wishes,
    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.
    Tags
    Scheduler
    Asked by
    Adnan Aslam
    Top achievements
    Rank 1
    Answers by
    Adnan Aslam
    Top achievements
    Rank 1
    Veronica
    Telerik team
    Share this question
    or