I have two custom button in page named as Week and Month, While clicking the month button I need to switch the calendar to month view, by same clicking the week button it need to be changed to week view. I am referring
I am not sure how to achieve this.Please suggest me some idea to achieve this control