Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1160
how to Refresh or reload XAMcalendar?
posted

Hi,

We are using XAMCalendar. We added some styles for BackGround Color. But In Some case we want to refresh the Calendar or reload. Is there any way to reload or refresh the Calendar for showing default calendar view.We have already used UpdateLayout and UpdateDefaultStyle. But its not working.

Please let us aware.

Thanks.

Parents
  • 34510
    Offline posted

    Hello Kanwar,

    What calendar default view are you referring to?  Do you mean the view without your background color styling?  If so, just remove your styles from whatever Resources collection they currently exist.  This is assuming you are using implicit styles in order to apply your background color style.  If you remove the style the control should automatically revert back to what it was before.  Take a look at my attached sample.  In it I have a style that changes the background color of the calendar.  When I click on the remove button it removes the style and the color reverts back to the default.

    CalendarRemoveStyle.zip
Reply Children