I’m having several issues with XamRibbonOne of the easiest to demonstrate:
1.) Create a new Silverlight 4.0 Business Application
2.) Take “ApplicationMenu2010.xaml” from the IG samples browser, and drop it in About.xaml as the last control of the StackPanel following the “Text="About page content"/>”such as <Views:ApplicationMenu2010 />(also bring in the associated resource files RibbonStrings.resx, and create a reference to Infragistics.Samples.Silverlight.Resources.LOB.dll)
3.) Notice the tabs and graphics do not show
4.) Remove the ScrollViewer, StackPanel, and TextBlock controls from the About.xaml, leaving:<Grid x:Name="LayoutRoot"> <Views:ApplicationMenu2010 /></Grid>5.) Notice the tabs and graphics are now showing
I’m also having some real issues with exceptions being thrown clear out to the HTML web page, getting trapped in the javascript function: onSilverlightError()
These exceptions are apparently being thrown from within IG assemblies
I am unable to trap/breakpoint the exception in app.xaml.cs at: Application_UnhandledException():
Error: Unhandled Error in Silverlight Application Code: 4009 Category: ManagedRuntimeError Message: Element is already the child of another element.
This usually occurs when selecting the “Office2010ApplicationMenuTabTool”, but also occurs when setting the tabs visibility to collapsed or visible
I could use some help here as to the best way to trap this exception from within a debug session
I have a demo of the first issue described above, but am unable to upload the sample code due to upload size restrictions (will this ever be addressed?)
Thank you!
Hello,
Just to summarize our finding about the first issue for the scroll viewer – this is expected behavior, after we have investigate it deeply we found out that the images are not visible because of the ScrollViewer’s style when is set to HorizontalScrollBarVisibility = Auto, if you remove this setter form the ScrollViewer’s style you will be able to see all the tabs.
About the other issue we are looking it with the development team and you will receive update in your case (CAS-55675-06680Y).
Thank you.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.