Telerik Forums
UI for WPF Forum
1 answer
60 views
Hello everyone
Last two days I have been recording tests on Web types and Wpf types separately
Seems like 'random name generator' is working fine in Web Type test. But is it possible to use random  ‘DataBindVariableName’ from Web types test to Wpf Type test?
Thanks.
Nikolai
Telerik team
 answered on 04 Oct 2018
3 answers
84 views

I want to change the look of Radar Series. The default Style is not the best when there are more then 5 Series.

I want my Radar Chart to look more like the one attached in the image below. I tried to Change the PointTemplate but then I am left only with the points.

Can someone point me to the right direction ?

 

 

private RadarAreaSeries CreateRadarSeries(KeyValuePair<ChartSerie, List<ChartDataPoint>> chartSeries, ChartLegendSettings legendSettings,
                                                  int                                            colorPaletteIndex)
        {
            var radarSeries = new RadarAreaSeries
            {
                LegendSettings = (SeriesLegendSettings)legendSettings,
                PointTemplate = new DataTemplate()
                {
                    VisualTree = AddPointsToSeries(chartSeries, colorPaletteIndex),
                },
                TooltipTemplate = new DataTemplate()
                {
                    VisualTree = CustomTooltip(chartSeries, colorPaletteIndex),
                },
                Opacity = 0.7,
                LabelDefinitions =
                {
                    // set the clarion format for the labels
                    new ChartSeriesLabelDefinition()
                    {
                        Template = new DataTemplate()
                        {
                            VisualTree = GetSeriesFormat(chartSeries),
                        }
                    }
                },
            };
 
            foreach (ChartDataPoint serie in chartSeries.Value)
            {
                radarSeries.DataPoints.Add(new CategoricalDataPoint()
                {
                    Category = serie.XPoint.Label,
                    Value    = (double?)serie.Value,
                });
            }
 
            return radarSeries;
        }

 

Martin Ivanov
Telerik team
 answered on 04 Oct 2018
2 answers
158 views

Hello,

I've got a RadGridView with data successfully bound to it. I need to be able to click on an individual cell and have it read by a screen reader (Job Access With Speech JAWS). When I test the screen reader it successfully reads the cell, but reads it twice. Does anyone have any idea what could be causing this. Thus far this is a problem unique to my RadGridView section and nothing else.

 

Thanks

Martin Ivanov
Telerik team
 answered on 04 Oct 2018
1 answer
59 views
Is it possible to use StyleSelector with RadDiagramContainerShape? When I try to add container shape I get an exception that the TargetType does not match RadDiagramShape. How can I go around this? 
Martin Ivanov
Telerik team
 answered on 04 Oct 2018
2 answers
133 views

There seems to be a problem with the column creation, when the ItemsSource is empty when the GridView is loaded.

My scenario is simlar to the xaml-sdk-master\GridView\BindingToICustomTypeDescriptor sample. But it can happen, that the ItemsSource contains no items, when the grid is loaded. When the items arrive later, the columns are not build up correctly.

- When AutoGenerateColumns is used, no columns will appear.

- When I create the columns in code (AutoGenerateColumns is set to false and GridViewDataColumns are created and added before the grid is loaded) the columns are shown and the data is displayed, but I am not able to sort or filter the data.

Only when at least one item exits in the ItemsSource when the Grid becomes visible, the grid works as expected. Is there something I have to do, when the first item is available?

Martin Ivanov
Telerik team
 answered on 04 Oct 2018
2 answers
93 views

Following your documentation Binding to Dynamic Data there is a code which shows how to bind dynamic object properties like "ID" and "Name" to column:

dynamic item = new MyDataRow();
item["ID"] = i;
item["Name"] = "Name " + i.ToString();
items.Add(item);     
Dilyan Traykov
Telerik team
 answered on 03 Oct 2018
1 answer
114 views

Hi,
I faced the issue with missing header row for all GridView contols within the app. Pretty much all of the grids have it's own style. Some of GridViews shares GridView header row style. I made some changes on one of the header row styles (some color changes, borders etc, something that should not affect on row visibility) but suddenly, all the GridViews in the app have header row missing.

I went through all GridView controls and set specific property for header row/column visibility but no effect. Any ideas?

Note: recently I updated Telerik dlls to the latest one.Also, I revert changes in the styles to the old one (when it was working fine) but no effect.

Dilyan Traykov
Telerik team
 answered on 03 Oct 2018
0 answers
77 views

Hello,

I've had no problem dragging from other containers to a RadDiagram control. But am stuck on how to drag back and forth between two RadDiagram controls. Do you have any sample code or suggestion for how to accomplish this?

Thanks in advance,

Scott

Scott
Top achievements
Rank 1
 asked on 02 Oct 2018
1 answer
279 views

I've just downloaded the Documentation and APiReference help files. However when I open them on my computer (which uses 200% scaling) they are unreadable with tiny text.  

Can someone tell the author(s) of these files to make them DPI aware? We're using Help&Manual for our own stuff and afaik it's just 1 setting in the .HHP file. Set the 'Font Size Encoding' to Pixels (not Points). I could be wrong on the exact setting but as said: our own Help files display fine and yours don't.

For now I found a trick to circumvent it but it's cumbersome and unneeded. The trick: copy HH.exe to a user folder. Set DPI compatibility for hh.exe to System(enhanced), then create shortcuts to the help files to use the compatible hh.exe)

A small change, a world of difference.

Jurgen

Dilyan Traykov
Telerik team
 answered on 02 Oct 2018
10 answers
599 views

Hi,

Short version of question:
What is the best way to enforce unique value in a column in an MVVM environment?

Long version of question:
I’m trying to enforce a unique value in a column using a custom attribute in the data model. I ended up with a solution very much like the last example in the old thread
https://www.telerik.com/forums/force-validation-on-new-record-insert

Direct link to the example provided by Telerik:
https://www.telerik.com/clientsfiles/375715_328546-TestApp-new.zip

However I see some problem with a solution like that.
At a first glance, the solution seems to work, but if you edit a value in a cell and the new value is the same as another cell in the same column, BOTH these cells would have an error. Not just the cell you edited.

I understand that not all cells can be validated whenever a single cell is edited, but is there any way to configure the RadGridView to “refresh” validations of all visible rows when a validation error is either set or removed?

Steps to visualize the problem.

  • Run the example above
  • When the application is running, reduce the window height (from the bottom) so that the scroll bar is visible and the top visible row shows “last name”=”Rockhead 0” and the bottom visible row shows “Rockhead 4”
  • Change last name “Smith 3” to “Smith 1”
  • Now there is a red border around the cell we edited (as expected) but nothing happens to row 2 (First name=Jane1)
  • Scroll to the bottom and back up to the top
  • Now there is also an error on row 2 (First name = Jane1)
  • Change “Smith 1” back to “Smith 3” (on the row where First name=Jane 3)
  • The error on the cell edited is now removed, BUT the error on row 2 (Jane 1) is still visible even as all values in the Last name column is now unique

 

So is there a way to prevent validation on cells when scrolling and as a result the error on row 2 will never be shown?
OR
Is there a way to force re-validation of all visible cells whenever the error-state changes in a cell?

 

I upgraded the example Project above to use version 2018.3.911, but the problem still exists.

Regards
/Stefan Vestin

Stefan
Top achievements
Rank 1
 answered on 02 Oct 2018
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
Slider
Expander
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?