Problem specifying BusyContentTemplate

6 posts, 0 answers
  1. Kevin Happe
    Kevin Happe avatar
    28 posts
    Member since:
    Jan 2010

    Posted 26 Aug 2010 Link to this post

    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
  2. Teodor
    Admin
    Teodor avatar
    501 posts

    Posted 27 Aug 2010 Link to this post

    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
  3. DevCraft banner
  4. Kevin Happe
    Kevin Happe avatar
    28 posts
    Member since:
    Jan 2010

    Posted 27 Aug 2010 Link to this post

    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>
  5. Teodor
    Admin
    Teodor avatar
    501 posts

    Posted 27 Aug 2010 Link to this post

    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
  6. Kevin Happe
    Kevin Happe avatar
    28 posts
    Member since:
    Jan 2010

    Posted 27 Aug 2010 Link to this post

    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.
  7. Teodor
    Admin
    Teodor avatar
    501 posts

    Posted 27 Aug 2010 Link to this post

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