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
115
ig_sched:WebMonthView - Right Click
posted

i want to display different context menus based on the selected activity type in web month view.  using left click this functionality can be acheived. problem is that right click on web month view date does not fire the Click (client side event) of Web month view. Is there any way to do this?

 

 

<ig_sched:WebMonthView ID="ctlWebMonthView" runat="server" Width="100%" WebScheduleInfoID="WebScheduleInfo1"

Height="460px" WeekendDisplayFormat="Full" AppointmentFormatString="<SUBJECT> (<LOCATION>)"

AppointmentTooltipFormatString="<SUBJECT> (<LOCATION>)" EnableAutoActivityDialog="False"

NavigationButtonsVisible="False" CaptionHeaderVisible="False" DayOfWeekHeaderFormat="Full"

BorderStyle="solid" BorderWidth="1px" BorderColor="Black" >

<AppointmentStyle BorderStyle="Solid" BorderWidth="1px" Font-Size="8pt">

</AppointmentStyle>

<AllDayEventStyle BorderStyle="Solid" BorderWidth="1px" Font-Size="8pt" >

</AllDayEventStyle >

<ClientEvents Click ="DateClicked" /> -- This Click event does not fire on Right Click

</ig_sched:WebMonthView>

 

Thanx for ur Help!!

Shaheen

Parents
No Data
Reply
  • 1414
    Verified Answer
    posted

    Shaheen,

    Concur with Catalina...

    However, to make things as clear as mud - since I have not tried this yet - you can use the day/week/month schedule view control's client side 'MouseUp' event to trap clicks on the control.

    Inside that event you can trap the window.event.button property to see if it is the Right Mouse Button (ie. 2).

    I tried the click event, but that event seems to only run on a standard Left Click.

    Trapping the MouseDown is too early. 

    The MouseUp seems just right.

Children
No Data