Telerik Forums
UI for WPF Forum
4 answers
186 views
Hi,
first of all I'm using the MVVM pattern.

In order to get the ActualVisibleRange from my DateTimeContinuousAxis i hooked up to the LayoutUpdated event and passed the axis via the CommandParameter:

<telerik:DateTimeContinuousAxis x:Name="horizontalAxis" LabelFormat="dd.MM hh:mm" LabelFitMode="MultiLine">   
    <i:Interaction.Triggers>
        <i:EventTrigger EventName="LayoutUpdated">
            <i:InvokeCommandAction Command="{Binding LayoutUpdatedCommand}" CommandParameter="{Binding ElementName=horizontalAxis}"/>
        </i:EventTrigger>
    </i:Interaction.Triggers>
</telerik:DateTimeContinuousAxis>


When I apply this pattern to the ChartTrackBallBehavior to pass the Data of the Behavior i got an error:

<telerik:ChartTrackBallBehavior x:Name="trackBallBehavior" ShowTrackInfo="True">
    <i:Interaction.Triggers>
        <i:EventTrigger EventName="TrackInfoUpdated">
            <i:InvokeCommandAction Command="{Binding TrackInfoUpdatedCommand}" CommandParameter="{Binding ElementName=trackBallBehavior}"/>
        </i:EventTrigger>
    </i:Interaction.Triggers>
</telerik:ChartTrackBallBehavior>


Is there an alternative way to pass the data of the ChartTrackBallBehavior to my ViewModel?

Regards Markus
James
Top achievements
Rank 1
 answered on 02 Oct 2013
2 answers
177 views
Hi,

I was looking the chart appearance demo and I want to implement something like that, I am using a RadChart with PieSeriesDefinition, a RadRadialGauge and a RadChart with AreaSeriesDefinition, I can't find how to apply the palette, I also have a RadPolarChart and a RadCartesianChart and I have no problem assigning the palette.

I don't know if for the first 3 charts is not possible assign a palette or it works in a different way.

Thanks,

Alberto
Alberto
Top achievements
Rank 1
 answered on 02 Oct 2013
1 answer
102 views
Hi

I am using a RadWindow as the apps Main window.  What i want to do is create a second Window using RadWindow.Show() which means IsModal = false which is what I want.  However, when I click into the main window the second window stays on top.  How do I get either window to be on top when clicked-in.  The only way I can get the mainwindow on top is by minimizing the second window. I need these two windows to be loosely coupled.

Thanks
Rich
Kalin
Telerik team
 answered on 02 Oct 2013
2 answers
132 views
I have implemented this on a grid that I have, and I have noticed that even if I click and drag the scroll bar to the very bottom, it doesn't show the bottom-most record. I have also noticed this same behavior in your WPF Example for this feature. Is this a known issue?
Vera
Telerik team
 answered on 02 Oct 2013
5 answers
808 views
Dear telerik,

I have to fix a problem in our software and we are using a gridview, which contains articles as items.
Each Item has a deletebutton (only visible for the the selected one), which Command is bound on a DelegateCommand (in the ViewModel). We are using the MVVM-pattern.
This button is only for removing the selected item of the gridview and works fine but when i have more than 16 articles in the grid there is always one or two articles, which I can't delete with the button. The other ones work fine.

The routed method doesn't get called in this times and I don't know why. A Button Click Event always works even when the bound command doesn't work.

I don't know where I have to search this mistake and would like to use the command and not the buttonclick.

Did you ever hear of a problem like this? Could you please help me?

Thanks a lot.


Cheers

Frank  
Maya
Telerik team
 answered on 02 Oct 2013
3 answers
137 views
Dear Telerik

I install RadControls for Wpf Q2.2013. After,I do step by step as link http://www.telerik.com/help/wpf/coded-ui-support.html
When I capture text box have value "3500" in "WPF Control Sample -> DataForm->First  Look" window as "err_25-sep_1.jpg" in attach file.When code generate,this TextBox will generate is UITestControl as "err_25-sep_2.jpg" in attach file. This is wrong,because if my machine don't have this extension,this Textbox will generate is WpfEdit as "err_25-sep_3.jpg"

Please help me solve this issuse
Sorry for my English not good
 
Ivan Ivanov
Telerik team
 answered on 02 Oct 2013
1 answer
106 views

Hi ,

I am using Rad Controls for WPF Q2 of 2013, Also I am new to Telerik.

I would like to create 2 rows for a single record in the telerik rad grid view as attached. Is it possible to do the template in the XAML code itself ?


With Regards.
Siva

Maya
Telerik team
 answered on 02 Oct 2013
1 answer
47 views

Hi,

I am using Rad Controls for WPF Q2 of 2013, Also I am new to Telerik.

I would like to create 2 rows for a single record in the telerik rad grid view as attached. Is it possible to do the template in the XAML code itself ?

With Regards.
Siva

Maya
Telerik team
 answered on 02 Oct 2013
1 answer
57 views

Hi,

I am using Rad Controls for WPF Q2 of 2013, Also I am new to Telerik.

I would like to create 2 rows for a single record in the telerik rad grid view as attached. Is it possible to do the template in the XAML code itself ?

With Regards.
Siva

Maya
Telerik team
 answered on 02 Oct 2013
2 answers
151 views
Hello,

I am trying to implement a BusyIndicator when loading data into a RadCartesianChart.

I have this code:

<telerik:RadBusyIndicator Name="busyInd" HorizontalAlignment="Left"  Grid.Row="1" Margin="10,10,0,0" VerticalAlignment="Top" Height="255" Width="372" IsIndeterminate="True">
 
        <telerik:RadCartesianChart x:Name="CartesianChartDemo" Grid.Column="5" Margin="10" Grid.Row="2" Grid.ColumnSpan="3">
 
            <telerik:RadCartesianChart.Behaviors>
                <telerik:ChartPanAndZoomBehavior PanMode="Both" ZoomMode="Both"/>
            </telerik:RadCartesianChart.Behaviors>
 
        </telerik:RadCartesianChart>
 
</telerik:RadBusyIndicator>

I load data in the code behind file:

CartesianChartDemo.VerticalAxis = new CategoricalAxis();
            CartesianChartDemo.HorizontalAxis = new LinearAxis();
 
            CartesianChartDemo.Grid = new CartesianChartGrid() { MajorLinesVisibility = GridLineVisibility.XY };
 
            string strQuery = "MyQuery";
 
//Function to get datatable
            DataTable dtAlloys = DataRetriever.GetDataTable(strQuery);
            
            BarSeries barSer = new BarSeries();
            barSer.ShowLabels = true;
            barSer.CombineMode = ChartSeriesCombineMode.Cluster;
 
            BarSeries barSer2 = new BarSeries();
            barSer2.ShowLabels = true;
            barSer2.CombineMode = ChartSeriesCombineMode.Cluster;
 
            foreach (DataRow drAlloy in dtAlloys.Rows)
            {
                barSer.DataPoints.Add(new CategoricalDataPoint() { Category = drAlloy["MATERIAL_CODE"], Label = string.Format("{0:N}", drAlloy["WT"]), Value = double.Parse(drAlloy["WT"].ToString()) });
                barSer2.DataPoints.Add(new CategoricalDataPoint() { Category = drAlloy["MATERIAL_CODE"], Label = string.Format("{0:N}", drAlloy["TARG"]), Value = double.Parse(drAlloy["TARG"].ToString()) });
            }
 
            CartesianChartDemo.Series.Clear();
            CartesianChartDemo.Series.Add(barSer);
            CartesianChartDemo.Series.Add(barSer2);

I was thinking to add:

busyInd.IsBusy = true;
 
//Code to load data
 
 
busyInd.IsBusy = false;

But I'm not sure if this is the way the BusyIndicator works.

Does anyone has any pointers to accomplish that?

Regards,

Alberto


Yana
Telerik team
 answered on 02 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?