This is a migrated thread and some comments may be shown as answers.

Problem with RadContextMenu appearing behind a transparent ApplicationBAr

8 Answers 65 Views
ContextMenu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Glenn
Top achievements
Rank 1
Glenn asked on 23 Jun 2012, 08:00 AM
Hi Telerik,

I've been writing a Windows Phone 7.5 app using the latest trial build of the RadControls for WP7. I will be purchasing the controls soon, so as to submit to Microsoft for certification.

However, I am having a problem with the RadContextMenu. I have a RadContextMenu attached to a RadDataBoundListBox on my page. All of the pages in my app have an application bar with opacity set to 0.95. The problem occurs when the RadContextMenu is show towards the bottom of the screen, in that the RadContextMenu and menu items are shown behind the application bar, and apart from not looking good, also means that I cannot click on the context menu items that are situated behind.

I do not really want to change the opacity to 1, please can you investigate, let me know if you can reproduce, if so, I hope you can get a fix out soon so that I can purchase the controls prior to my app submission to Microsoft.

Many Thanks,

Glenn

8 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 25 Jun 2012, 07:17 AM
Hi Glenn,

Thank you for writing.
I am afraid that there is nothing we can do on our side. Since RadContextMenu is built on top of silverlight, it will always be displayed below the app bar no matter what we do since the app bar is a native component and we have very little control over it.

For the moment please consider an alternative design for your application. We will consider improving RadContextMenu so that it is aware of the app bar opacity.
Thank you for understanding.

Regards,
Victor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Anton
Top achievements
Rank 1
answered on 07 Jul 2014, 02:17 PM
Greetings!
As I still experience this bug as of 2014.1.*, I'd like to suggest a possible solution of this problem to dev team which is pretty simple. How can I do this to not disclose part of ContextMenu class here?
0
Anton
Top achievements
Rank 1
answered on 07 Jul 2014, 02:31 PM
Just to clarify: I'm experiencing this bug with WP8 version of library, but I thought that it's pointless to start a new thread
0
Tsvyatko
Telerik team
answered on 10 Jul 2014, 11:17 AM
Hello Glenn,

We highly appreciate customer feedback. As a customer you can open support ticket from your account where we can discuss possible solutions to this scenario.

Regards,
Tsvyatko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Seznam
Top achievements
Rank 2
answered on 21 Jul 2014, 08:27 AM
Hi, we're experiencing this problem with semitransparent AppBar and RadContextMenu as well even with latest RadControls for WP8.
It shouldn't be hard to fix this by detecting the current state of AppBar on current page and if it's (semi)transparent, then computing the available space accordingly.
0
Tsvyatko
Telerik team
answered on 24 Jul 2014, 07:57 AM
Hi Martin,

Thank you for your suggestion. We will into this and work for improvement in RadContextMenu behavior in our next official release for WP8.

Regards,
Tsvyatko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Seznam
Top achievements
Rank 2
answered on 04 Dec 2014, 08:57 AM
Hi, any update about fixing this bug? As I noticed it was already reported in 2012 and the fix should be really simple, in pseudocode:

// when computing context menu position
UIElement tappedElement = ...;
Page page = FindPage(page);
double h = page.ActualHeight;
ApplicationBar appbar = FindAppBar(page);
if (IsAppBarTransparent(appbar)) {
h--= 48; // make the page height smaller so the context menu does not appear at the bottom behind the AppBar
}
// compute the Context menu position - over or under the tapped element
0
Ivaylo Gergov
Telerik team
answered on 08 Dec 2014, 02:42 PM
Hello,

The current implementation of the RadContextMenu exposes a PortraitAlignment property which can be useful in such scenarios. For example, if you set it to Stretch, it will fill the available area and this problem should not be present.

Please, let me know if this helps.

Regards,
Ivaylo Gergov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ContextMenu
Asked by
Glenn
Top achievements
Rank 1
Answers by
Victor
Telerik team
Anton
Top achievements
Rank 1
Tsvyatko
Telerik team
Seznam
Top achievements
Rank 2
Ivaylo Gergov
Telerik team
Share this question
or