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

Problem specifying BusyContentTemplate

5 Answers 93 Views
BusyIndicator
This is a migrated thread and some comments may be shown as answers.
Kevin Happe
Top achievements
Rank 1
Kevin Happe asked on 26 Aug 2010, 04:50 PM
I am trying to specify my own BusyContentTemplate.  My template is showing below the original template in the designer and at run time.  I thought this would replace the template and not add to it. 

Is this a bug or am I doing a newbie mistake?

Thanks
Kevin

5 Answers, 1 is accepted

Sort by
0
Teodor
Telerik team
answered on 27 Aug 2010, 08:38 AM
Hello Kevin Happe,

Thank you for contacting us.

We have not experienced the described issue so far with the RadBusyIndicator. Can you please pack the project that exhibits this behavior and send it over to us so that we can test it locally?

Thank you in advance. 

All the best,
Teodor
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
0
Kevin Happe
Top achievements
Rank 1
answered on 27 Aug 2010, 02:37 PM
This XAML will show the error.

<UserControl x:Class="BusyIndicatorBug.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.Resources>
            <DataTemplate x:Key="RuetersBusyContentTemplate">
                <Grid >
                    <StackPanel Orientation="Vertical">
                    <TextBlock Text="Line1"/>
                    <TextBlock Text="Line2"/>
                    </StackPanel>
                </Grid>
            </DataTemplate>
        </Grid.Resources>
        <telerik:RadBusyIndicator x:Name="BusyIndicator" BusyContentTemplate="{StaticResource RuetersBusyContentTemplate}" IsBusy="True"   />
    </Grid>
</UserControl>
0
Teodor
Telerik team
answered on 27 Aug 2010, 03:10 PM
Hello Kevin Happe,

Thank you for your reply.

Please find attached our test project as well as a screenshot that shows how it looks on our side. Could you please review it and let us know how it behaves in your case and whether the output on the screenshot looks as you expect.

Let us know about any progress. 

All the best,
Teodor
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
0
Kevin Happe
Top achievements
Rank 1
answered on 27 Aug 2010, 03:19 PM
Looking at your screenshot, that is the behavior that I am seeing.
Maybe Im confused. 
When I specify a new BusyContentTemplate, I expect that the control template is replaced by the new BusyContentTemplate.  My code and your screenshot is showing that the new specified BusyContentTemplate is being shown below the native/original BusyContentTemplate.


OK, I think I just realized what my issue is.  The BusyContentTemplate is the template for the verbage that goes with control.  I was thinking it was replacing the graphic.
0
Teodor
Telerik team
answered on 27 Aug 2010, 04:33 PM
Hello Kevin Happe,

You will need to set your own Style to the ProgressBarStyle property in order to change the graphic.

Greetings,
Teodor
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
BusyIndicator
Asked by
Kevin Happe
Top achievements
Rank 1
Answers by
Teodor
Telerik team
Kevin Happe
Top achievements
Rank 1
Share this question
or