BusyIndicator inside pane

4 posts, 0 answers
  1. Wil
    Wil avatar
    11 posts
    Member since:
    Aug 2010

    Posted 06 Jan 2012 Link to this post

    I'm developing a UI with Telerik components. I need a docking panel, with a main document and three side panes. These panes are displaying different information in asynchronous way, so i need three different RadBusyIndicator (one each pane) to tell the user that the panel is busy. The content of the panes is nothing special: a map control, a radchart, a radgrid.

    The problem appear in design time: i cannot put a busyindicator inside a radpane, or the following exception is generated:

    Layout measurement override of element 'Microsoft.Windows.Design.Platform.SilverlightViewProducer+SilverlightContentHost' should not return PositiveInfinity as its DesiredSize, even if Infinity is passed in as available size.
       at System.Windows.UIElement.Measure(Size availableSize)
       at System.Windows.ContextLayoutManager.UpdateLayout()
       at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
       at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
       at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
       at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
       at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

    This is a code snippet of my current structure (some code cut):

                <telerik:RadPaneGroup >
                    <!--<Controls:RadBusyIndicator Name="busyIndicatorGrid" Grid.Column="2">-->
                            <RowDefinition Height="*" />
                            <RowDefinition Height="auto" />
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="auto"/>
                        <Controls1:RadGridView Name="grid"
                                   ItemsSource="{Binding ElementName=gridPager, Path=PagedSource}"
                                Grid.Row="1" Grid.Column="1"
        <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedRight">
            <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200, 200">
                <telerik:RadPane Header="Chart">
                    <!--<Controls:RadBusyIndicator Name="busyIndicatorMap">-->
                    <t:MapControl x:Name="WorldMap"/>
            <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200, 200">
                <telerik:RadPane Header="Chart">
                    <!--<Controls:RadBusyIndicator Name="busyIndicatorChart">-->
                    <telerikChart:RadChart x:Name="radChart" />

    Looks something related to size, but i can't figure out how to solve the issue.
    What is the best practice to avoid this problem?

    Thanks in advance.

    Francesco Grandis
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 11 Jan 2012 Link to this post

    Hi Francesco,

    Could you please verify that this is caused by the RadBusyIndicator - does this issue occurs when there is no BusyIndicator on the page? Also, in the first group there is no RadPane - the RadPaneGroup doesn't support other content, different than a RadPane.
    Could you please share with us with which version of the controls you are experiencing the problem?

    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft R3 2016 release webinar banner
  4. Wil
    Wil avatar
    11 posts
    Member since:
    Aug 2010

    Posted 12 Jan 2012 Link to this post

    Thank for the reply Konstantina,

    i managed to create a sample solution with docking panels, busy indicators and simple control (textboxes), and this solution does not give any problem, so the error must be somewhere else in my main project.

    Anyway, i'm using version Q1 - 2011 controls, and as soon as i put a radbusyindicator inside a pane, or a expander, the design editor show the error i posted in my first message. I'll have a deeper look on my project, and find the source of the error. If you have any hints or things i may look for, i'd appreciate a lot.

    Thanks for now.
  5. Wil
    Wil avatar
    11 posts
    Member since:
    Aug 2010

    Posted 12 Jan 2012 Link to this post

    Found the problem.
    There were a version mismatch: the project was using telerik components 2011.1.411, but docking.dll was 2011.1.315. Now it's working fine, thanks

Back to Top