Reoccurring Appointment Icon in Displayview

9 posts, 0 answers
  1. CMSC_345
    CMSC_345 avatar
    5 posts
    Member since:
    Feb 2008

    Posted 22 Mar 2008 Link to this post

    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?
  2. CMSC_345
    CMSC_345 avatar
    5 posts
    Member since:
    Feb 2008

    Posted 22 Mar 2008 Link to this post

    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?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. CMSC_345
    CMSC_345 avatar
    5 posts
    Member since:
    Feb 2008

    Posted 22 Mar 2008 Link to this post

    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.
  5. Matt
    Matt avatar
    66 posts
    Member since:
    Apr 2009

    Posted 28 May 2009 Link to this post

    Is this the best way to accomplish this?  Has anyone else figured out a better way?  Where can I find the Telerik recurrence icon?
  6. Mickey
    Mickey avatar
    39 posts
    Member since:
    Mar 2009

    Posted 29 Jun 2009 Link to this post

    How Do I access the build in recurring image
  7. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 29 Jun 2009 Link to this post

    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.
  8. Mickey
    Mickey avatar
    39 posts
    Member since:
    Mar 2009

    Posted 29 Jun 2009 Link to this post

    Thanks,
    I was looking for the CSS  rsAptRecurrence

    Mickey
  9. Matt
    Matt avatar
    66 posts
    Member since:
    Apr 2009

    Posted 29 Jun 2009 Link to this post

    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> 

  10. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 02 Jul 2009 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017