Telerik Forums
UI for WPF Forum
1 answer
150 views
Hi, I have this MVVM app and I need to show a BusyIndicator when it does this heavy load method.

It works fine the first time, when I try to run it again, looks like it's not starting the BusyIndicator. And it just does nothing.

Here's the code I'm using to show the BusyIndicador

The BusyIndicator it's binding to this property

private bool _isBusy;
public bool IsBusy
{
    get { return _isBusy; }
    set
    {
        if (_isBusy == value) return;
 
        _isBusy = value;
        OnPropertyChanged();
    }
}

And here's how I change the state of the binded property


var backgroundWorker = new BackgroundWorker();
 
backgroundWorker.DoWork += delegate
{
    IsBusy = true;
    DoHeavyWork();
};
 
backgroundWorker.RunWorkerCompleted += delegate
{
    IsBusy = false;
};
 
backgroundWorker.RunWorkerAsync();

I also tried setting the IsBusy property outside of the DoWork method, but got the same results.

Any idea what it might be the issue?


Vladi
Telerik team
 answered on 26 May 2014
3 answers
185 views
Is there a RadGeometryButton delete button? Im using the 'new' and 'layout' RadGeometryButton's buttons and also need one for delete? A standard button will look out of place here so im hoping theres a nice pretty RadGeometryButton delete button...
Martin Ivanov
Telerik team
 answered on 26 May 2014
2 answers
71 views
Hello!

I tried to change the minimum of the polar axis. However, the value seems to be ignored (except for the label interval).
Is there another property that has to be set?

Alex
Petar Marchev
Telerik team
 answered on 26 May 2014
1 answer
131 views
Hi,

is it possible to change the line color in a RadCartesianChart depending on the DataItem (e.g. for the line segment before the data point)?
I found an old thread (http://www.telerik.com/forums/change-line-colour-part-of-the-line-only) where it was stated that such a functionality was planned - however I don't see any evidence that it was implemented...

Alex
Petar Marchev
Telerik team
 answered on 26 May 2014
1 answer
89 views
Hi there,

I was wondering if there was a way to have a discontinuous axis using Telerik charting?

We have a scatter chart on a screen which often contains outliers meaning that the rest of the data gets compacted. A user has requested that we use a discontinuous axis so that the outliers can be be shown without compacting the rest of the data.

For example, the axis steps could be 0, 10, 20, 30, 40, 50, 10000.

I have attached a screen shot which will hopefully be able to explain what I mean more clearly. This was taken from another application which the user uses which provides this functionality.

Kinds Regards,

Steven

Peshito
Telerik team
 answered on 26 May 2014
1 answer
146 views
I'm working on a UI and I have a nested tab control. The main tab control has a series of tabs tied to an ItemsSource. The inner tab control is organizational and every item represented in the main tab will have a set number of tabs. All of it works great except I noticed that when I selected between tabs that the inner tab of the previous one was reset to the first tab even if I had the second selected.

I did some digging and discovered that the contents of the ContentTemplate are recreated each time a tab is selected. That seems pretty inefficient, but I guess there's some good reason for that? At any rate, I'm hoping someone has a good alternative to this behavior without resorting to creating the tabs programmatically (that'd be kludgey from my view-model).

Here's a simplified example of what I'm talking about. The contents of UserControl1 aren't shown, but they can be anything that has visual state that isn't persisted to the model -- e.g. current tab, unbound text, et al.

​<Window ...>
    <Window.Resources>
        <DataTemplate x:Key="TabHeaderTemplate">
            <TextBlock Text="{Binding Name, Mode=OneWay}" />
        </DataTemplate>
        <DataTemplate x:Key="TabContentTemplate">
            <local:UserControl1 DataContext="{Binding Path=.}" />
        </DataTemplate>
    </Window.Resources>
    <Grid>
        <telerik:RadTabControl ItemsSource="{Binding Path=.}"
                               ItemTemplate="{StaticResource TabHeaderTemplate}"
                               ContentTemplate="{StaticResource TabContentTemplate}" />
    </Grid>
</Window>
Anthony
Top achievements
Rank 1
 answered on 23 May 2014
7 answers
513 views
Hello,

With Q3 2012, I discovered Implicit Style.
It really works great !!

The only thing that doesn't work are RadWindow, that doen't style properly. My RadWindow are used as User Control and created only via XAML:
<telerik:RadWindow 
......
I disabled StyleManager as noticed in the documentation.
How can I style easily all my RadWindows ?
Thanks.
xsch
Martin
Top achievements
Rank 1
 answered on 23 May 2014
4 answers
331 views
In my gridview, I have a column that I need to make into a template as follows.
​ <telerik:GridViewDataColumn Header="Contact" DataMemberBinding="{Binding CustAccountsLocationContact.FirstName}">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding CustAccountsLocationContact.FirstName}" />
<TextBlock Text=" " />
<TextBlock Text="{Binding CustAccountsLocationContact.LastName}" />
</StackPanel>
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>


When I save and reload with persistence framework, the binding no longer works. Is there a work around for this? or do I just need to add 2 columns?

Thank you,
Jonah
Jonah
Top achievements
Rank 1
 answered on 23 May 2014
1 answer
69 views
Hi.

I wonder one thing.

Program spent some time after setting 'Series Data'.

The time is proportionality 'Series Data' quantity.

I want to know where is it.

Please let me know.
Martin Ivanov
Telerik team
 answered on 23 May 2014
6 answers
130 views
Hi,

I want to distribute selected diagrams horizontally and vertically.
Do the telerik provide some methods to do this?
Martin Ivanov
Telerik team
 answered on 23 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?