Telerik Forums
UI for WPF Forum
1 answer
320 views

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,

Dimitrina
Telerik team
 answered on 02 Jun 2015
1 answer
192 views

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.

 

Kalin
Telerik team
 answered on 02 Jun 2015
1 answer
172 views

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

Petar Marchev
Telerik team
 answered on 02 Jun 2015
3 answers
435 views

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.

Milena
Telerik team
 answered on 02 Jun 2015
1 answer
57 views

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

 

 

 

 

Martin Ivanov
Telerik team
 answered on 01 Jun 2015
1 answer
113 views

Hi,

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

Martin Ivanov
Telerik team
 answered on 01 Jun 2015
1 answer
135 views

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?

Stefan
Telerik team
 answered on 01 Jun 2015
1 answer
101 views

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

 

 

Martin Ivanov
Telerik team
 answered on 01 Jun 2015
1 answer
95 views

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

Kalin
Telerik team
 answered on 01 Jun 2015
1 answer
201 views

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>

Petar Marchev
Telerik team
 answered on 01 Jun 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?