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

Reoccurring Appointment Icon in Displayview

8 Answers 225 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
CMSC_345
Top achievements
Rank 1
CMSC_345 asked on 22 Mar 2008, 08:15 PM
When I define a reoccurring appointment and save it, it doesn't have the reoccurring icon in the displayview. How do I adorn my reoccurring appointments with the little circular symbol?

8 Answers, 1 is accepted

Sort by
0
CMSC_345
Top achievements
Rank 1
answered on 22 Mar 2008, 09:07 PM
I figured out why. Now I have to figure out the best method to fix it.

I am using the <AppointmentTemplate> to customize the displayview. I guess I have to add a <asp:image> control referencing whatever image I want to use for a recurring appointment.

Can anyone comment on if this is the best approach? Also does anyone know where I can find one of Telerik's recurring images?
0
CMSC_345
Top achievements
Rank 1
answered on 23 Mar 2008, 01:48 AM
Well I think I've figured it out. I'll leave my workaround here for anyone else with the same issue.

I placed an <asp:image> in the <AppointmentTemplate> and set its visibility property in the RadScheduler_AppointmentCreated event. Here is a code snippet:

        // show recurrence symbol when necessary  
        if (e.Appointment.RecurrenceState != Telerik.Web.UI.RecurrenceState.NotRecurring)  
        {  
            Image templateImage = (Image)e.Container.FindControl("recurrenceImage");  
            templateImage.Visible = true;  
        } 

If anyone has something better please feel free to comment.
0
Matt
Top achievements
Rank 1
answered on 28 May 2009, 02:37 PM
Is this the best way to accomplish this?  Has anyone else figured out a better way?  Where can I find the Telerik recurrence icon?
0
Mickey
Top achievements
Rank 1
answered on 29 Jun 2009, 01:04 PM
How Do I access the build in recurring image
0
Peter
Telerik team
answered on 29 Jun 2009, 02:39 PM
Hi guys,

You could replace or remove the recurrence image using the .rsAptRecurrence class that is applied to it. For example:

.rsAptRecurrence
{
    display: none !important;
}

I am not sure though if this is what you are looking for.


Kind regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Mickey
Top achievements
Rank 1
answered on 29 Jun 2009, 02:46 PM
Thanks,
I was looking for the CSS  rsAptRecurrence

Mickey
0
Matt
Top achievements
Rank 1
answered on 29 Jun 2009, 02:50 PM
Sort of the other way around.  I implemented a custom class that overwrote the recurrence image.  How do I access the built in recurrence image and have it show as part of my custom class?

    <AppointmentTemplate> 
        <div class="rsCustomAppointmentContainer hand"
            <%#Eval("Subject")%><br /> 
            <em><asp:Label ID="lblLocation" runat="server" Text="Label" /></em
        </div> 
    </AppointmentTemplate> 

0
Peter
Telerik team
answered on 02 Jul 2009, 08:10 AM
Hello Matt,

CMSC_345 posted a solution on Mar 22, 2008 which should work fine in your case too:

"...I placed an <asp:image> in the <AppointmentTemplate> and set its visibility property in the RadScheduler_AppointmentCreated event..."


Regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
CMSC_345
Top achievements
Rank 1
Answers by
CMSC_345
Top achievements
Rank 1
Matt
Top achievements
Rank 1
Mickey
Top achievements
Rank 1
Peter
Telerik team
Share this question
or