Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

RIghtClick Event RSS

17 replies

Last post Oct 15, 2007 01:38 AM by RadiateLogic

(0)
  • AmrElsehemy

    AmrElsehemy

    Member

    2 Points

    3 Posts

    RIghtClick Event

    May 01, 2007 10:55 AM | LINK

    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 amrelsehemy.net
  • gerard1234

    gerard1234

    Member

    112 Points

    61 Posts

    Re: RIghtClick Event

    May 02, 2007 11:28 AM | LINK

    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

  • luisabreu

    luisabreu

    Participant

    1676 Points

    612 Posts

    Re: RIghtClick Event

    May 02, 2007 11:38 AM | LINK

    hello.

    the last time i asked, the answer was no.

  • gerard1234

    gerard1234

    Member

    112 Points

    61 Posts

    Re: RIghtClick Event

    May 02, 2007 01:19 PM | LINK

    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.

     

  • Kevgor

    Kevgor

    Member

    224 Points

    77 Posts

    Re: RIghtClick Event

    May 02, 2007 04:32 PM | LINK

    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  

  • Mark Rideout

    Mark Rideout

    Contributor

    2736 Points

    307 Posts

    Microsoft

    Re: RIghtClick Event

    May 02, 2007 06:16 PM | LINK

    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"

  • JakeOnTheNet

    JakeOnTheNet

    Member

    8 Points

    4 Posts

    Re: RIghtClick Event

    May 02, 2007 08:39 PM | LINK

    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

  • Mark Rideout

    Mark Rideout

    Contributor

    2736 Points

    307 Posts

    Microsoft

    Re: RIghtClick Event

    May 02, 2007 10:50 PM | LINK

    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"


  • JakeOnTheNet

    JakeOnTheNet

    Member

    8 Points

    4 Posts

    Re: RIghtClick Event

    May 02, 2007 11:00 PM | LINK

    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. [:D]

    I want to use Silverlight in a sophisticated GIS/mapping application but I need context menus first. [:(]

  • CJCraft.com

    CJCraft.com

    Member

    50 Points

    18 Posts

    Re: RIghtClick Event

    May 20, 2007 01:07 AM | LINK

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

    Thanks,