Context Menu

10 views
Skip to first unread message

bez

unread,
Feb 19, 2010, 2:25:07 PM2/19/10
to Ranet.UILibrary.Olap
Hi, I'm new to silverlight and I'm creating a LOB app using the
Silverlight Toolkit template, I can't seem to get the context menu to
work on the MDX Designer, I've trolled your sample app, I can't seem
to get where it's turned off.

Any pointers?

Galaktika OpenSource

unread,
Feb 19, 2010, 3:44:40 PM2/19/10
to Ranet.UILibrary.Olap
Hi, bez

What browser do you use?

If Firefox - it is a bug (regression) in Silverlite AddIn for Firefox.
In previous Firefox versions it was possible to use Shift+Click for
context menu, but now it does not work.
It seems we need to wait for Silverlight 4.0.

Another posibility - using Coral IETab Firefoх Extension.

Context menu works OK in Internet Exporer 6.0+

Galaktika OpenSource

unread,
Feb 20, 2010, 1:47:34 AM2/20/10
to Ranet.UILibrary.Olap
> > work on the MDX Designer, I've trolled your sample app, I can't seem
> > to get where it's turned off.

If you speak about your own application then please look to html page
where Silverlight object is embeded and compare it with our
SilverliteApplication.htm

For context menu you need:
<param name="windowless" value="true" />
<param name="enableHtmlAccess" value="true" />


============================
<object data="data:application/x-silverlight-2," type="application/x-
silverlight-2"
width="100%" height="100%">
<param name="source" value="ClientBin/UITest.xap" />
<param name="onError" value="onSilverlightError" />
<param name="windowless" value="true" />
<param name="enableHtmlAccess" value="true" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="3.0.40624.0" />
<param name="autoUpgrade" value="true" />
<a href="http://go.microsoft.com/fwlink/?
LinkID=149156&v=3.0.40624.0" style="text-decoration: none">
<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get
Microsoft Silverlight"
style="border-style: none" />
</a>
</object>
=============================

bez

unread,
Feb 19, 2010, 3:59:01 PM2/19/10
to Ranet.UILibrary.Olap
Hi,

Thanks for the quick reply, its really appreciated :)

I'm using IE, I must be doing something wrong. Since it works in your
sample application but not when I wire it to my app.

I can browse my cubes etc ok, the only problem is I get the default
silverlight context menu when I right click.

I thought setting <param name="windowless" value="true" /> on the html
host page would solve the problem but this has not helped either.

Let me hack through it again, I'm sure I'll find where i'm going
wrong.

Thanks again.

Bez

On Feb 19, 11:44 pm, Galaktika OpenSource


<galaktika.opensou...@gmail.com> wrote:
> Hi, bez
>
> What browser do you use?
>
> If Firefox - it is a bug (regression) in Silverlite AddIn for Firefox.
> In previous Firefox versions it was possible to use Shift+Click for
> context menu, but now it does not work.
> It seems we need to wait for Silverlight 4.0.
>

> Another posibility - using Coral IETab FirefoÈ Extension.


>
> Context menu works OK in Internet Exporer 6.0+
>

Galaktika OpenSource

unread,
Feb 23, 2010, 4:34:44 AM2/23/10
to Ranet.UILibrary.Olap
Hi

The issue is not in our control.

We have writtten some code at application level which fixes Firefox
context menu issues in our commercial products but it is rather hack
than real resolution.

Regards,
Anatoly

bez

unread,
Feb 23, 2010, 10:14:57 AM2/23/10
to Ranet.UILibrary.Olap
Hi,

I was having a newbie mistake.

The template defaults to "yourapplication.aspx" and this is where I
need to put


<param name="onError"
value="onSilverlightError" />

<param name="windowless" value="true" />

before I was putting this on "yourapplication.html" but it was not my
startup page.

Thanks for all the help.

NB:
My app will run in a LAN where everyone has IE so I can wait for
silverlight 4 for the firefox fix.

Regard,
Bez.

Reply all
Reply to author
Forward
0 new messages