I'm having a problem with my content links when the navigation pane is minimized. The project path is not included in the url. ie: /views/today.xaml is read from the root of my host rather than the root of the project.
Any ideas?
Thanks,
Lisa.
Hi Lisa,Is it happen only in minimized mode?Could you add more details or sample code?Regards,Marin
Hi Marin,
Yes it only happens in minimized mode. I've attached my navigation page.
Hi Lisa,The HyperlinkButton.Navigate method fails ("Access is denied") when it is inside a popup.I can navigate if I use a standard button and call Frame.Navigate.private void Button_Click(object sender, RoutedEventArgs e){ this.ContentMain.Navigate(new Uri("/Views/Dashboard.xaml", UriKind.Relative));}Regards,Marin
I've tried converting the hyperlinks to buttons but the click event does not fire. I have no problem with this when calling the click event for a button that does not exist within the outlookbar. I tried changing the Dashboard hyperlink at the top of the page (outside of the outlookbar) and it worked fine. I've resent my code with the Opportunities link changed to a button.
I've converted my hyperlinks to buttons, works great.
Thanks!
Hi Lisa,You can use Infragistics v.9.2, just remove 10.1 references, add references to the 9.2 and replace v.10.1 with 9.2 in the XAML. I'm attaching updated sample.There is nothing specific in the Button, I use the MS System.Windows.Controls.Button in the OutlookBar group. I see that your code uses a style but it probably it targets HyperlinkButton <Button x:Name="ButtOpportunities" Style="{StaticResource NavLinkB}">Try without any additional settings, use something like this<Button Content="Today" Click="Button_Click"/>Regards,Marin
Also one thing I noticed looking through your code is that you call a Click property in your Button control (Click="Button_Click_1") I don't have access to this property, is this something new in V.10? This might explain why my click event does not fire on the button.
Hi Marin
Thanks for this but unfortunately this project is using infragistic v.10.1, I'm using v.9.2, we have not upgraded to v10 so I do not have the reference libraries installed and therefore cannot test this. Also it still may not work in v9.2
Lisa
Hi Lisa,It should work. I created a small sample to reproduce the issue.Could you check this solution (Navigate.zip) if it works for you?Regards,Marin