Hi,
When I hoover the mouse over a item in the main menu, a blue effect appears over it, but when I click it, that effect remains in the item, and it looks pretty bad.
Why that happen? how can I avoid it?
Cheers.
Hi
I could not reproduce your issue, but you can try this:
Add follow storyboard to control template of XamWebMenuItem in normal visual state
<vsm:VisualState x:Name="Normal"><Storyboard > <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HighlightedIndicator" Storyboard.TargetProperty="(UIElement.Visibility)"> <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/> </ObjectAnimationUsingKeyFrames> <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedIndicator" Storyboard.TargetProperty="(UIElement.Visibility)"> <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/> </ObjectAnimationUsingKeyFrames></Storyboard></vsm:VisualState>
It happens when the item has no subitems, I mean, when you are using the menu like a toolbar.
After click it you have to hoover the mouse again to remove the effect.
Cannot you reproduce it?
This was an issue which was fixed with the latest SR.
Which version of the product are you using currently?
HTH,
I'm using 9.2.20092.1007
Is there a newer one?
Yes, the NetAdvantage WebClient:Silverlight 9.2 SR 10.1 has just been released (build 9.2.20092.2014). You should be able to find it in the download area on our site.
Please, let us know if you need any help with that.
Regards,
I've installed the SR 2014 and it's still happening.
I click the XamMenuItem, then the code in the handler set the visibility to collapsed, then if you click on another XamMenuItem, the first one becomes visible, but then it's still highlighted.
Regards.
I'm trying to reproduce it in a isolated project, but it doesn't happen.
I cannot understand why the items remain highlighted when I have no way to cause it.
I am not able to reproduce the problem with 2014 as well.
Are you doing anything more than just e.g.:
<igMenu:XamWebMenu HorizontalAlignment="Left" VerticalAlignment="Top"> <igMenu:XamWebMenuItem Header="One"/> <igMenu:XamWebMenuItem Header="Two"/> <igMenu:XamWebMenuItem Header="Three"/> </igMenu:XamWebMenu>
You mentioned something about visibility, maybe on click you hide the clicked menu item and after that display it again? That could be related to the issue.
Thanks,
Could you tell me which version your silverlight plug in is? I tested it with 3.0.50106 and have not such problem.
Stoimen Gerenski"] Hi, I believe this scenario is a bit different than the initial one. Please, confirm if the steps to reproduce are the following: Click on a XamWebMenuItem which does not have children (the XamWebMenuItem is a child of a XamWebMenu, i.e. root level item) Move the mouse pointer away Observe: the menu item remains highlighted Hover the mouse pointer over the menu item and then move away again Observe: the menu item is no longer highlighted Isn't 2014 resolving the described issue? HTH,
I believe this scenario is a bit different than the initial one.
Please, confirm if the steps to reproduce are the following:
Isn't 2014 resolving the described issue?
No, it's not solving the issue. I have a screen, where three XamWebMenuItems are in the XamWebMenu like if it was a toolbar, when I click one... the item remain hightlighted, when I click the second remains hightlighted also an so on.