Telerik Forums
UI for WPF Forum
1 answer
201 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
482 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
78 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
137 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
174 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
131 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
117 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
235 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
13 answers
551 views
Hi,
In RadPivotFieldList in Choose fields to add to report how i can remove the checkboxes and maybe setthe background on active fields?

I add a few fields in Row Labels and few in Values from cs code. it automatic show "Z Values" in Row Labes field. It need to be in Column Labels. Of course i can move it when load the screen but it is suppose to be there from the beginning not user to do this.

Visual Example

How I can remove Defer Layout Update and do it automatic when user drop a field  for report?

Regards,
Saykor
Pat
Top achievements
Rank 1
 answered on 30 May 2015
0 answers
141 views
We apply ScaleTransform to the LayoutTransforms of all our WPF controls, and I'm finding that the PivotFieldList context menus and any associated windows that display from these menus are not inheriting the LayoutTransform from the PivotFieldList.  Would there be any way to modify the LayoutTransform for these menus and windows?
Andrew
Top achievements
Rank 1
 asked on 29 May 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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?