I have a RadGridView with a default sort-order.
When the user clicks on some of the columns, I want the default ascending sort order as the first sort order selected (as it is out of the box).
But for other columns, the user almost always wants them selected descending. This means that right now the user needs to click the column header two times (or more, if they system is a bit slow and they happen to click multiple times in anger).
That is, for a few column I would like to have:
* descending -> ascending -> none
instead of:
* ascending -> descending -> none.
I know that I can make a propery on the viewmodel which returns (Int32.MaxValue - myvalue) and use SortMemberPath, but then the arrow on the header would point in the wrong direction (it would tell the user ascending but the data would be sorted descending).
Is there any way to tell individual columns, that I want the first selected sort order to be descending?
Thanks,
Hello, we are trying to evaluate Telerik WPF Controls before we could purchase it and use it in our WPF Application. Our application will be mainly run on touch enabled devices and not with mouse clicks.
We are facing following issues when it comes to integrating the Schedule View control and would appreciate if you can point us to the documentation of provide us some idea on how to implement these features using Telerik Schedule View control:
1. We would like to increase / decrease the duration of an appointment by zooming in/ zooming out using the finger gesture on the Schedule View. Currently it only supports Zooming In/ Zooming out of the Timeline or entire Schedule View to go from Month View to Day View and vice versa.
2. We would like to mark several open slots in the Schedule View and then define the appointment for those all open slots in the Schedule View.
3. We would like to drag one appointment over the other appointment and raise a specific event which will allow us to move some values from one appointment to another.
Would highly appriciate if you could respond as soon as possible as we really need to finish analysing the Telerik controls for our project.
Hi,
I have a graph that the Nodes of graph have time.
I was Wondering there is a way to display a timeline according to the nodes.
something like the below picture :
tanks
I have a RadMaskedTextInput Box that I have validated in the backend as follows.
//Phone Number[RegularExpression(@"^\d{10}$")]public string PhoneNumber{ get { return _phoneNumber; } set { double.TryParse(value, out temp); if (_phoneNumber != value) { Validator.ValidateProperty(value, new ValidationContext(this, null, null) { MemberName = "PhoneNumber" }); _phoneNumber = value; OnPropertyChanged("PhoneNumber"); } }}The xaml for the object is as follows:
<!-- Phone Number --><telerik:RadMaskedTextInput Margin="2" BorderBrush="LightGray" IsClearButtonVisible="False" Mask="(###) ###-####" UpdateValueEvent="PropertyChanged" TextMode="PlainText" Value="{Binding Path=PhoneNumber, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnExceptions=True, UpdateSourceTrigger=PropertyChanged}">This does not have the expected behavior.
What I want is that when the user does not have a valid 10 digit phone number then set the validation flag that the number is incorrect.
While it may be left blank, as soon as they start typing I want it to show a red box until only 10 digits are present.

EXample:
void tv_Edited(object sender, RadTreeViewItemEditedEventArgs e)
{
if(tv.SelectedItem.ToString()=="Session")
{
MessageBox.Show("Plese select different name!","Warning!!!!!");
//if tv.SelectedItem is "Session", I want to assign Oldvalue for that treeviewItem and I am able to get oldvalue(string oldvalue = e.OldValue.ToString();) I want to assign that oldvalue.
Team please help me ASAP.
regards,
Ranjith

Hi,
Is it possible for each category on a CategoricalAxis to have a different width?

Hi to all,
I need to "format" a GridViewDataColumn to keep blank if it contians 0 decimal.
This is the classical GridView that shows ledger entries that shows Debit and Credit Amount Columns, but when the cell contains 0 (zero), it would be blank and 0 (zero).
What can I do it?
Is there a way to show the BreadCrumb's parent dropdown menu on selection of the child?
For example, let's the example program from the WPF Examples / BreadCrumb Theming, it shows a demo of windows explorer.
Local Disk c:\ -> Personal Folders -> Outbox as a sample breadcrumb path.
By default, if I click on the drop down for 'Personal Folders' I'll get a listing of the child elements, i.e. 'Outbox', 'Drafts', etc.
Outbox doesn't have a drop down associated with it since it is the last element.
Is it possible to setup the control so there would be a drop down on 'Outbox' and clicking it would show all of the items at that level?
Thanks!
-ben

Hi,
I have a XBAP application that used the RadWindow as modal dialog window and it will make the UI behind the RadWindow inactive until I closed it. However, after I updated to the latest version of WPF (v.2015.1401.45), the 'inactive' ability no longer there.
On this latest version, the code that calls the RadWindow.ShowDialog(), the UI behind the Radwindow still active.
What do I need to do to make the UI behind the Radwindow inactive?
Thanks,
Chris
Hey guys,
Trying to add multiple lines to a Cartesian.LineSeries. I have 2 lists, that I need displayed. 1 is for a current customers data, the 2nd is for comparison to another customers data. All the data is in both lists. I can get the first list to show easily. But when trying to add a 2nd line to it it's not so easy.
Here is what I have so far.
<Grid>
<telerik:RadCartesianChart x:Name="MetricLineGraph" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="Auto" MinHeight="300" MinWidth="300" Margin="10,10,10,10" >
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:DateTimeContinuousAxis LabelFitMode="MultiLine"
LabelFormat="hh:mm:ss"/>
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis />
</telerik:RadCartesianChart.VerticalAxis>
<telerik:RadCartesianChart.Series>
<telerik:LineSeries ItemsSource="{Binding GraphItems}"
ValueBinding="MetricValue"
CategoryBinding="MetricTimeStamp"
Foreground="WhiteSmoke"
TextBlock.Foreground="White">
</telerik:LineSeries>
<telerik:LineSeries ItemsSource="{Binding LineGraphGroupCompareItems}"
ValueBinding="MetricValue"
Foreground="WhiteSmoke"
TextBlock.Foreground="White">
</telerik:LineSeries>
</telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>
</Grid>