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

Blank page when navigating to view with RadDock in certain senarios

3 Answers 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Paul
Top achievements
Rank 1
Paul asked on 17 Feb 2012, 12:42 PM
Hi

Just came across a problem with a project I'm working on and am looking for pointers on how I can track down the problem.

Using latest release of Telerik silverlight controls 2012.
Silverlight 5 project with Prism+MEF

Secnario:
I have 3 views at the moment ShellView, OrdersView and HomeView.

ShellView is using the radTransition control with the regionmanager attached property assigned.
HomeView is using the radTileView control.
OrdersView is using the radDocking control.

Both HomeView and OrdersView are displayed in the same region. i.e the user clicks a button and the specified view for that button is displayed in the region as follows:
regionManager.RequestNavigate("MainRegion","OrdersView");

1. If I run the project from VS 2010 everything runs fine, I click the HomeViewButton and the HomeView is displayed, click the OrdersViewButton and the OrdersView is displayed.

2. When I publish to IIS on my server and I goto  my web browser and browse to the location of the app it loaded as per expected.  If I click the HomeViewButton the HomeView is displayed, but when I click the OrdersViewButton the OrdersView is not showing I just get a white screen which is the background of the app.

3. If I remote desktop to the server where the app is hosted and navigate to the app (using the same address as in step 2) everything loads and runs as expected.

So my problem is happening in step 2 but don't know how to debug it.
Any thoughts?

p.s. not saying this is a Telerik problem, just thought I'd post here first.

Thanks
Paul 



3 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 17 Feb 2012, 12:53 PM
Hi

I added a background colour to the region that the views are being loaded into and when I load the OrdersView in step 2 the view is being loaded but no radDock controls are being displayed.

Thanks
Paul
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 22 Feb 2012, 12:20 PM
Hi Paul,

We are not aware of such a problem. How your views are placed in your assemblies - are they in a single assembly or in separate assemblies? Do you use application library caching feature for reducing the .xap file size? Could you also verify are the references placed correctly in all of the assemblies (the RadDocking control needs the Telerik.Windows.Controls.Docking, Telerik.Windows.Controls.Navigation and Telerik.Windows.Controls assemblies).

If this doesn't help, could please try to reproduce this in a sample project and share it with us?

Best Regards,
Miroslav Nedyalkov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Paul
Top achievements
Rank 1
answered on 22 Feb 2012, 12:37 PM
Hi Miroslav

I think the problem was that the module hadn't loaded yet.  If I connect to the site from my machine obviously it would take longer to download.

Tried the assembly caching as suggested and that works well.
Thanks
Paul
Tags
General Discussions
Asked by
Paul
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Share this question
or