Transition + prism exception

2 posts, 1 answers
  1. Vit100
    Vit100 avatar
    66 posts
    Member since:
    Oct 2012

    Posted 07 Apr 2011 Link to this post


    <
    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.
    ???
  2. Answer
    George
    Admin
    George avatar
    1332 posts

    Posted 13 Apr 2011 Link to this post

    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
  3. DevCraft banner
Back to Top