RIghtClick Event
Last post 10-14-2007 9:38 PM by RadiateLogic. 17 replies.
Sort Posts:
05-01-2007 6:55 AM
RIghtClick Event

Is there any work around to get the right click event on an object,

is it going to be supported in release versions?

Thanks

Don't forget to click "Mark as Answer" on the post that helped you.
Regards,
Amr Elsehemy
blog www.amrelsehemy.net

AmrElsehemy

Loading...
Joined on 08-11-2006
Egypt
Posts 3
05-02-2007 7:28 AM
Re: RIghtClick Event

Hello

When I do a RIghtClick on my mouse in a example of the new release of Silverlight I get an "pop-up"  where I can click on with the text : "About Microsoft Silverlight"
and the link behind: http://www.microsoft.com/SILVERLIGHT/

Is it possible to disable this function? can't find where it is in the source code.

Bye

gerard1234

Loading...
Joined on 05-01-2007
Posts 61
05-02-2007 7:38 AM
Re: RIghtClick Event

hello.

the last time i asked, the answer was no.

luisabreu

Loading...
Joined on 04-30-2007
Posts 612
05-02-2007 9:19 AM
Re: RIghtClick Event

So when you make something with SilverLight for a costumer on a site or something, he always get that alert when he does the right mouse click?
please, dont let it be.
And also when you do full screen, now you see your ip adres when you've got your SilverLight example on a webserver.

 

gerard1234

Loading...
Joined on 05-01-2007
Posts 61
05-02-2007 12:32 PM
Re: RIghtClick Event

Hi Gerard1234

 I had a discussion with Barak Cohen about the right click behaviour. Right now in latest Silverlight release, you get a small context menu with one item "About Silverlight". Barak has said that MS is looking for input on whether the content menu should be programmable, in the sense that you could add your own menu items. I don't think there's going to be a "onRightMouseDown, 'move, 'enter, 'leave and 'up" set of events.

 Kevgor  

Kevgor

Loading...
Joined on 05-01-2007
Vancouver, BC
Posts 74
05-02-2007 2:16 PM
Marked as Answer
Re: RIghtClick Event

I had responded to a post similar to this on the msdn forums (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1044903&SiteID=1 and http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1529091&SiteID=1) – In 1.0 there won't be support for right mouse click or context menu events. We also will not have support in 1.0 for customizing the context menu.

We are looking for ways to provide related events or customization of the context menu in future versions.

-mark
Program Manager
Microsoft
This post is provided "as-is"

Mark Rideout

Loading...
Joined on 01-03-2006
Redmond, WA
Posts 226
05-02-2007 4:39 PM
Re: RIghtClick Event

Why would we NOT want context menus? I'm very surprised they aren't already supported. Could you give an explanation as to why context menu support was left out?

Thanks

Jake

JakeOnTheNet

Loading...
Joined on 05-02-2007
Posts 4
05-02-2007 6:50 PM
Re: RIghtClick Event
Thanks for the feedback. It's not that users don't want context menu, just that we had to prioritize our feature set for 1.0 and 1.1. A lot of DHTML web sites use other means to expose context options – things like fly-over links where a option UI expands out. While Flash has the ability to customize the context menu I personally don't like that you can't style the context menu to have the look and feel of your app. We want to ensure that what we provide meets the needs of our users, so we want your feedback!

-mark
Program Manager
Microsoft
This post is provided "as-is"


Mark Rideout

Loading...
Joined on 01-03-2006
Redmond, WA
Posts 226
05-02-2007 7:00 PM
Re: RIghtClick Event

I would venture to guess the reason context menus are not widely used is because they're difficult to do with DHTML. Unless one is using a DHTML/AJAX toolkit that provides menu controls context menus aren't worth the pain.

However.. if one were using a super cool toolkit like, oh, say Silverlight then one would definitely want to offer context menus to their users. Big Smile

I want to use Silverlight in a sophisticated GIS/mapping application but I need context menus first. Sad

JakeOnTheNet

Loading...
Joined on 05-02-2007
Posts 4
05-19-2007 9:07 PM
Re: RIghtClick Event

Thanks, this would be useful. Right mouse click is a nice feature to have, and a decent limitation to lose.

Thanks,

CJCraft.com

Loading...
Joined on 05-08-2007
Florence, SC
Posts 18
06-30-2007 8:37 AM
Re: RIghtClick Event

One of the touted uses for Silverlight is RIA. Many "average" users have gotten used to right-click to accomplish tasks and when they will see these rich applications they will intuitively want to right-click and expect a context menu.

I understand if it doesn't make it in 1.0, but it really should be there for 1.1.

Seriously, can you imagine right-clicking in a desktop app and seeing About Windows XP/Vista or About OS/X? Users do not care about the underlying technology. You can provide a function and the let developer call a Silverlight.ShowAbout() for debugging puposes.

Here's to hoping.

Perry

pstatho

Loading...
Joined on 08-31-2006
Posts 14
07-02-2007 3:23 AM
Re: Re: RIghtClick Event

I really want to see events listeners: mouseRightButtonDown, mouseRightButtonClick, mouseRightButtonUp, mouseRightButtonMove.

And i am pretty sure, that many developers want that feature.

And may i ask what about mouseMiddleButtonDown, mouseMiddleButtonClick, mouseMiddleButtonUp, mouseMiddleButtonUp, mouseMiddleButtonMove.

And it would be nice to see mouseScrollUp and mouseScrollDown.

And speaking of mouse. Could you please add more mouse cursors to SilverLight. 


Make love not war.
Please be sure to click "Mark as Answer" on the post that helped you.

forci

Loading...
Joined on 05-10-2007
Slovenia
Posts 144
08-18-2007 7:21 AM
Re: RIghtClick Event

 Hi!

      I want to have DoubleClick event raised for an object(i.e. own javascript function to handle doubleclick event). I m useing Silverlight 1.0.

And one more thing is i want open a Wizard on double click event.
Thx

dharmesh_dsd@hotmail.com

Loading...
Joined on 08-18-2007
Posts 12
10-12-2007 2:34 AM
Re: RIghtClick Event

 hello friends,

i only want keyboard support in fullscreen mode 

naveenkushwaha

Joined on 08-06-2007
Posts 28
10-12-2007 10:11 AM
Re: Re: RIghtClick Event

I'd also like to see menu support for right click, and not just adding items to the existing gray menu like Flash does (although at least they offer this functionality) but having a menu that's able to be styled however one wishes with xaml.

Direct Silverlight support for double click, mouse wheel (not thru Javascript workarounds) and a middle mouse button should be included as well if Silverlight is really meant for making world class RIA's. Also mouse hide/custom cursor replacement. I could go on and on with feature requests but I won't. Does anyone know if there is a place where one can submit feature requests? Maybe a forum could be added to this site for this. That way MS can get some better metrics on what are considered real priorities for a feature set (umm, like text input support) according to the developers that are using Silverlight.


dandobbs - developer - vectorform - silverlight demos with source code

ddobbs-vectorform

Loading...
Joined on 05-11-2007
Posts 43
10-12-2007 8:27 PM
Re: Re: RIghtClick Event

The best I've seen to date is "fix" from Ken Dopierala Jr. Good and usable workaround, but man it sucks that it's not builtin Super Angry

http://www.rtlogicsystems.com/Home/tabid/224/EntryID/22/Default.aspx

 

pstatho

Loading...
Joined on 08-31-2006
Posts 14
10-12-2007 9:24 PM
Re: Re: RIghtClick Event

And unfortunately it does not work well in Firefox Sad 

Thanks
Yasser Makram
My Blog: http://www.silverlightrecipes.com
Sr. Architect
Santeon Inc. Microsoft Silverlight Partner, Solution Provider

y_makram

Loading...
Joined on 06-07-2007
Cairo, Egypt
Posts 1,141
10-14-2007 9:38 PM
Re: Re: RIghtClick Event

It does now, I just updated it.  Here is my latest blog entry about how to make it work with Firefox :

http://www.rtlogicsystems.com/Home/tabid/224/EntryID/23/Default.aspx

 --- Ken

 

RadiateLogic

Loading...
Joined on 10-02-2007
Posts 42
Page view counter