Right Click Event doesnot fire in WebMonthView

S

Shaheen.Pisces

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
 
B

bruce barker

onclick does not fire for right mouse clicks. you need to capture the
onmousedown and onmouseup events. then you need to determine which button was
clicked by checking the event, then dispatch your functon and cancel the
context menu.

google w3c events to see how to write cross browser event handling, and
event bubbling.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top