Telerik Forums
UI for WPF Forum
1 answer
90 views
Hi, I am a new guy to WPF and Radcontrols and I created test application to use Rad Window control  but It is not working.

xaml code is,

<telerik:RadWindow x:Class="test.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    Header="Window1" Height="300" Width="300">
    <Grid>
        
    </Grid>
</telerik:RadWindow>

I inherited the rad window,

public partial class Window1 : RadWindow

The telerik rad control version is 2010.3.1314.35

Windows XP SP 3

Visual Studio 2008
Version 9.0.30729.1 SP

Microsoft .Net Framework
Version 3.5 SP1

Please help me.

Thank You.
Princy
Top achievements
Rank 2
 answered on 31 Mar 2011
1 answer
426 views
Hi.

I'm having some trouble trying to accomplish the following, maybe you can help me.

I have two or more tabs, each of them having several controls (combos, textbox, textblock, grids, etc.). None of this controls have the tabindex setted, the position of the control within the xaml code should be sufficient to ensure the right order.

When the user hits the tab key in the last control of the first tab, I want to focus the first control in the second tab.

Is this possible? Is it possible without setting the tabindex?

Thanks!

Nico
Petar Mladenov
Telerik team
 answered on 31 Mar 2011
6 answers
242 views
Hello,

When you shrink the size of the bottom area, all of the titles show up on a single line instead of on their individual lines.  Is it possible to begin in this state, where all of the items only show up on the single line instead of many?

Thanks!
Petar Mladenov
Telerik team
 answered on 31 Mar 2011
3 answers
192 views
A few questions after playing with the Sparkline example here : C:\Program Files (x86)\Telerik\RadControls for WPF Q3 2010 SP1\Demos\Examples\BulletGraph

1.  Can a RadColumnSparkline show the bars in a horizontal orientation?  Default seems to be vertical - I didn't see a property to change orientation.

2.  The examples all seem to bind to a DateTime on the X-Axis.  Is it possible to bind to something like a string and if so what would happen?

Where your current example data looks like:
actual,Late arrivals,11/1/2004,1
actual,Late arrivals,12/1/2004,24
actual,Late arrivals,1/1/2005,32

What if I wanted to bind to NOTE: the date is replaced by a string (site name) value:

web ranking,Site 1, 1000
web ranking,Site 2, 2222
web ranking,Site 3, 4444

3.  Do you have an example of how to do some of this XAML binding in C# code rather than XAML?  In essence doing this type of thing in a non-xaml/dynamic way?
              <telerik:GridViewDataColumn Header="actuals nov'04 - nov'05">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <telerik:RadColumnSparkline ShowFirstPointIndicator="True" ShowLastPointIndicator="True" ShowHighPointIndicators="True" ShowLowPointIndicators="True" ItemsSource="{Binding ActualMeasure}" XValuePath="Date" YValuePath="Value" Width="120" Height="20" />
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                </telerik:GridViewDataColumn>

4.  I'm adding another question to the post:

I have 5 data points, but the chart is only showing 4 of the points. Like it is throwing out the lowest data point and not plotting it at all.  Is that a function of telerik:RadColumnSparkline attribute?


actual,(Google) Day Spas in Houston,11/1/2004,100
actual,(Google) Day Spas in Houston,12/1/2004,75
actual,(Google) Day Spas in Houston,1/1/2005,72
actual,(Google) Day Spas in Houston,2/1/2005,77
actual,(Google) Day Spas in Houston,3/1/2005,66


 <telerik:RadColumnSparkline ShowAxis="true" ShowLastPointIndicator="True" ShowFirstPointIndicator="True" ShowHighPointIndicators="True" ShowLowPointIndicators="True"  ItemsSource="{Binding ActualMeasure}" XValuePath="Date" YValuePath="Value" Width="120" Height="20" />
Yavor
Telerik team
 answered on 31 Mar 2011
1 answer
121 views
Hi there,

I want the grid to display empty rows up to the bottom if i don't have data in it. Is there any way how to add a empty row all the time....

thanks
Vlad
Telerik team
 answered on 31 Mar 2011
1 answer
56 views
Hi there,

I've gone through the examples I could find for point mark visibility, but could not get it to work. I have a chart with two series mappings: (i) BarSeriesDefinition and (ii) LineSeriesDefinition. In the LineSeriesDefinition I only want to display the PointMark in the first and last PointMark in the data set as the FieldName "Target" value does not change.

Here is what I have:
<telerik:RadChart x:Name="radChart" ItemsSource="{Binding CounterValues}">
  <telerik:RadChart.DefaultView>
    <telerik:ChartDefaultView>
      <telerik:ChartDefaultView.ChartTitle>
        <telerik:ChartTitle Content="Counter Data" />
      </telerik:ChartDefaultView.ChartTitle>
      <telerik:ChartDefaultView.ChartArea>
        <telerik:ChartArea>
          <telerik:ChartArea.AxisX>
            <telerik:AxisX IsDateTime="True" Step="1" LabelStep="1" DefaultLabelFormat="dd-MMM" StepLabelLevelCount="1" StepLabelLevelHeight="1" />
          </telerik:ChartArea.AxisX>
        </telerik:ChartArea>
      </telerik:ChartDefaultView.ChartArea>
    </telerik:ChartDefaultView>
  </telerik:RadChart.DefaultView>
  <telerik:RadChart.SeriesMappings>
    <telerik:SeriesMapping LegendLabel="Counter Values">
      <telerik:SeriesMapping.SeriesDefinition>
        <telerik:BarSeriesDefinition/>
      </telerik:SeriesMapping.SeriesDefinition>
      <telerik:SeriesMapping.ItemMappings>
        <telerik:ItemMapping DataPointMember="YValue" FieldName="CounterValue" />
        <telerik:ItemMapping DataPointMember="XValue" FieldName="Day" />
      </telerik:SeriesMapping.ItemMappings>
    </telerik:SeriesMapping>
    <telerik:SeriesMapping LegendLabel="Target">
      <telerik:SeriesMapping.SeriesDefinition>
        <telerik:LineSeriesDefinition/>
      </telerik:SeriesMapping.SeriesDefinition>
      <telerik:SeriesMapping.ItemMappings>
        <telerik:ItemMapping DataPointMember="YValue" FieldName="Target" />
        <telerik:ItemMapping DataPointMember="XValue" FieldName="Day" />
      </telerik:SeriesMapping.ItemMappings>
    </telerik:SeriesMapping>
  </telerik:RadChart.SeriesMappings>
</telerik:RadChart>


Can you please let me know how to do this?
Sia
Telerik team
 answered on 30 Mar 2011
5 answers
123 views
Hi,

as the thread titles says, if I change the DataContext of a GridView, a ComboBoxColumn whose ItemsSource binds to a collection in the DataContext don't change with changing the DataContext. Instead the values of the DataContext which was assigned before remain.

If I check

this.GridView.Columns[4].GetBindingExpression(GridViewComboBoxColumn.ItemsSourceProperty).DataItem


while debugging, I can see that "DataItem" still references the old DataContext -although-

this.GridView.Columns[4].DataContext


references the newly assigned DataContext.

I do not understand this behavior. Thanks.
Pavel Pavlov
Telerik team
 answered on 30 Mar 2011
1 answer
46 views
I have a monitor board application which is simply a full-screen Window with a single RadTransition container in it. I have defined a number of UserControls, each essentially a screen with data-driven reports. The application cycles through a number of these screens continuously during the day, with data refreshing every 15 minutes. My problem is that as the screen cycles, the application grows in memory slightly but continuously until eventually (after eight hours or so) it crashes from lack of memory.

How can I make sure that the previous UserControl is well and truly unloaded and its resources released after a new control is loaded in the RadTransition control?
Valeri Hristov
Telerik team
 answered on 30 Mar 2011
1 answer
359 views
I downloaded new version of telerik wpf controls. I am adding dll of telerik.windows.controls.dll and telerik.windows.control.gridview with other dlls. I can add the refrernece of gridview namespace but when i am using it by tag <telerikGridView: ..  GridView is not visible. Also in the toolbox other controls are coming not the gridview. 
Vanya Pavlova
Telerik team
 answered on 30 Mar 2011
1 answer
131 views
Hi there,

I have a command binding in my WPF form, it looks like this,
<UserControl.InputBindings>
      <KeyBinding Key="Enter" Command="{Binding Path=AddSelectedProductTypeCommand}"/>
  </UserControl.InputBindings>
I also have a grid that is non editable, however pressing the enter key causes a red outline to form around the grid, I suspect that it is grabbing the enter key press and then complaining cause IsReadOnly="True",

How can I tell the grid to ignore any key presses? Or just the enter key... I will take either.

Thanks
Ivan Ivanov
Telerik team
 answered on 30 Mar 2011
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?