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

Transition + prism exception

1 Answer 111 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Vit100
Top achievements
Rank 1
Vit100 asked on 07 Apr 2011, 06:25 PM

<
telerik:RadTransitionControl 
           prism:RegionManager.RegionName="CustomerSearchRegion"
           Content="Loading...">
           <telerik:RadTransitionControl.Transition>
               <telerik:FlipWarpTransition />
           </telerik:RadTransitionControl.Transition>
       </telerik:RadTransitionControl>

Exception:
An exception occurred while creating a region with name 'CustomerSearchRegion'. The exception was: System.InvalidOperationException: ContentControl's Content property is not empty.
    This control is being associated with a region, but the control is already bound to something else.

I want to show "Loading..." string until Module loads and register its view into CustomerSearchRegion.
???

1 Answer, 1 is accepted

Sort by
0
Accepted
George
Telerik team
answered on 13 Apr 2011, 08:26 AM
Hello,

 
I would suggest you removing the Content="Loading..." for the RadTransitionControl. You are not allowed to associate a control with content for a region in PRISM. The content must be empty. 

You could look into the RadBusyIndicator control. You could show the RadBusyIndicator while the module is being loaded. I hope this helps.

Regards,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TransitionControl
Asked by
Vit100
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or