I have this chart:
<telerik:RadCartesianChart Name="myChart">
Hi,
i bound a Collection "MergeItems" to a RadGridView. Now we have to press a button to check each row in the Grid. After checking and
updating the database how do i set the background of the row, for example, green?
Thanks
Best Regards
I am using windows8touch theme in windows 8 desktop.
If the user touches the filter button the filter drop down opens.
If they touch the keyboard button on the task bar (brings virtual keyboard up) the drop down closes.
They then need to press the filter button again to open drop down.
Any way to correct this behavior.
any assistance would be appreciated
dco
Hello,
When I add two RadPane to the same RadPaneGroup they are open as tabs in the same window
Is there a way to open them in two separate windows next to each other, so every window will have it's own header (right now is the tab's header)?
Thanks!
Hi Telerik-Team,
I've got a question regarding the DefaultLabelFormat-Attribute of AxisX in RadCharts.
Attached is an image taken from my VS2013 that shows an error being found in XAML.
The message is german and reads "The 'DefaultLabelFormat'-Attribute was not found in Type 'AxisX' ".
Even though the IDE shows this error, compilation works and the Value of DefaultLabelFormat (#VAL)
takes effect.
I wanted to check what this error is related to. For now I'm using the following as a workaround:
this
.YearChart.DefaultView.ChartArea.AxisX.DefaultLabelFormat =
"#VAL"
;
Thanks
In linear gauges, is there a way to control marker orientation? By default, triangular markers point to the left. Is there a way to make it point to the right or up/down? This seems a simple thing, but it's hard to find any reference to it in the documentation.
Thank you for any information.
Hello,
i got an application where the RadEntityFrameworkDataSource returns no rows.
I have written an Test application, which just handles the issue: the problem remains.
You can download the application at http://w2ww.de/downloads/RadEntityFrameworkDataSource_Test1.zip
You must edit the connection string in the app.config.
I used the .Net Framework in the version 4.5 and Telerik Devcraft for WPF in the version 2015.1.0401.45.
The source:
namespace RadEntityFrameworkDataSource_Test1 {
class Program {
[STAThread]
static void Main(string[] args) {
REFDS_T1Context cntxt = new REFDS_T1Context();
cntxt.Database.CreateIfNotExists();
if (cntxt.Libraries.FirstOrDefault<Library>() == null) {
Library l = new Library("Lib1");
cntxt.Libraries.Add(l);
l = new Library("Lib2");
cntxt.Libraries.Add(l);
cntxt.SaveChanges();
}
var q = (from m in cntxt.Libraries select m).ToList();
Console.WriteLine("---- Output from Linq Queryable");
foreach (Library m in q) {
Console.WriteLine(m.Name);
}
RadEntityFrameworkDataSource refds = new RadEntityFrameworkDataSource();
refds.DbContext = cntxt;
refds.QueryName = "Libraries";
var l2 = refds.DataView;
Console.WriteLine("Output from RadEntityFrameworkDataSource");
var v = l2.TotalItemCount;
Console.WriteLine("TotalItemCount: " + v);
foreach (Library m in l2) { //.ToEnumerable<MediaItem>()
Console.WriteLine(m.Name);
}
Console.WriteLine("---- Ende for Output of: RadEntityFrameworkDataSource");
Console.ReadLine();
}
}
}
----------- The output:
---- Output from Linq Queryable
Lib2
Lib1
Output from RadEntityFrameworkDataSource
TotalItemCount: 0
---- Ende for Output of: RadEntityFrameworkDataSource
---
Best Regards
Winfried Wille
Hi,
is use a GridView to merge data from a lokal db with a business software db. I create a mergeObjekt which contains field name, filed value,table id and groupname for the lokal and the server database.
... new MergeItem(lokalfield, lokalfieldvalue, lokaldbid, lokalgroup, serverfield, serverfieldvalue, serverid, servergroup)
Now i want to show the Collection in my GridView, which works fine like this...
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding DB}"
Header
=
"DB"
IsReadOnly
=
"True"
Width
=
"0.125*"
UniqueName
=
"DB"
ColumnGroupName
=
"Lokal"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding AbasID}"
Header
=
"abas-ID"
IsReadOnly
=
"True"
Width
=
"0.125*"
UniqueName
=
"AbasID"
ColumnGroupName
=
"Lokal"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Feldname}"
Header
=
"Feldname"
IsReadOnly
=
"True"
Width
=
"0.125*"
UniqueName
=
"Feldname"
ColumnGroupName
=
"Lokal"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Feldwert}"
Header
=
"Feldwert"
IsReadOnly
=
"True"
Width
=
"0.125*"
UniqueName
=
"Feldwert"
ColumnGroupName
=
"Lokal"
/>
<
telerik:GridViewColumn
Header
=
"<<"
ColumnGroupName
=
"Lokal"
Width
=
"55"
telerik:StyleManager.Theme
=
"Windows8Touch"
>
<
telerik:GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
telerik:RadRadioButton
IsChecked
=
"{Binding Syncabastolokal, Mode= TwoWay}"
GroupName
=
"{Binding Group}"
x:Name
=
"Syncabastolokal"
Height
=
"20"
Width
=
"40"
/>
</
DataTemplate
>
</
telerik:GridViewColumn.CellTemplate
>
</
telerik:GridViewColumn
>
<
telerik:GridViewColumn
Header=">>" ColumnGroupName="abas" Width="55" telerik:StyleManager.Theme="Windows8Touch">
<
telerik:GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
telerik:RadRadioButton
IsChecked
=
"{Binding Synclokaltoabas, Mode= TwoWay}"
GroupName
=
"{Binding XGroup}"
x:Name
=
"Synclokaltoabas"
Height
=
"20"
Width
=
"40"
/>
</
DataTemplate
>
</
telerik:GridViewColumn.CellTemplate
>
</
telerik:GridViewColumn
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Xabasid}"
Header
=
"abas-ID"
IsReadOnly
=
"True"
Width
=
"0.166*"
UniqueName
=
"XAbasID"
ColumnGroupName
=
"abas"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Xfeldname}"
Header
=
"Feldname "
IsReadOnly
=
"True"
Width
=
"0.166*"
UniqueName
=
"Xfeldname"
ColumnGroupName
=
"abas"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Xfeldwert}"
Header
=
"Feldwert "
IsReadOnly
=
"True"
Width
=
"0.166*"
UniqueName
=
"Xfeldwert"
ColumnGroupName
=
"abas"
/>
</
telerik:RadGridView.Columns
>
On the left side are the lokal datas and on the right side the server datas. In the middle are two Radio Buttons bind to the group. With this Layout i have the choice to select which side will be updated in the database.
Is it possible to create something like a Radio button over 3-4 Columns. This would be easier for the user to select the side!
Thanks Best Regards
RENE
Hello,
Below is my GridViewDataColumn and I am binding through ItemsSource.
<telerik:GridViewDataColumn Header="MVAR" DataMemberBinding="{Binding Value, Mode=TwoWay,NotifyOnSourceUpdated=True,NotifyOnValidationError=True,NotifyOnTargetUpdated=True}" Width="100" IsReadOnly="False" >
</telerik:GridViewDataColumn>
If user changes the values, I want to change the foreground color of the cell. How can I do this ?
I have this chart:
<telerik:RadCartesianChart Name=
"myChart"
>
<telerik:RadCartesianChart.Grid>
<telerik:CartesianChartGrid MajorLinesVisibility=
"XY"
/>
</telerik:RadCartesianChart.Grid>
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:LogarithmicAxis LogarithmBase=
"2"
Minimum=
"125"
Maximum=
"8000"
/>
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis Maximum=
"10"
Minimum=
"-130"
/>
</telerik:RadCartesianChart.VerticalAxis>
<telerik:RadCartesianChart.Series>
<telerik:ScatterLineSeries>
<telerik:ScatterLineSeries.DataPoints>
<telerik:ScatterDataPoint YValue=
"-40"
XValue=
"125"
/>
<telerik:ScatterDataPoint YValue=
"-50"
XValue=
"250"
/>
<telerik:ScatterDataPoint YValue=
"-60"
XValue=
"500"
/>
<telerik:ScatterDataPoint YValue=
"-70"
XValue=
"1000"
/>
<telerik:ScatterDataPoint YValue=
"-80"
XValue=
"2000"
/>
<telerik:ScatterDataPoint YValue=
"-70"
XValue=
"4000"
/>
</telerik:ScatterLineSeries.DataPoints>
</telerik:ScatterLineSeries>
</telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>
And in my code i have timer that receive data every second:
private
Random random =
null
;
Create timer:
random =
new
Random();
System.Windows.Threading.DispatcherTimer dispatcherTimer =
new
System.Windows.Threading.DispatcherTimer();
dispatcherTimer.Tick += dispatcherTimer_Tick;
dispatcherTimer.Interval =
new
TimeSpan(0, 0, 1);
dispatcherTimer.Start();
Timer tick:
private
void
dispatcherTimer_Tick(
object
sender, EventArgs e)
{
int
val = random.Next(0, 100);
line.DataPoints.Add(
new
CategoricalDataPoint() { Value = val });
}
I all i want to to (i am totally new with WPF) is to replace my hard coded values in my XAML in the real time data that the timer received (the 'val' variable).
My timer is define only in the code and not in XAML.
How can i do that ?