Telerik Forums
UI for WPF Forum
1 answer
148 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
113 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
334 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
638 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
32 answers
358 views
Has anyone  got an example or tutorial of using SQL Tables to store Gantt View information?
Martin Ivanov
Telerik team
 answered on 02 Oct 2018
3 answers
205 views

Hi everyone,

I would like to customize the AppointmentDialog and the RecurrenceDialog in same time but I have a problem.

So, I made in two ResourceDictionary a ControlTemplate foreach Dialog.

  • <ControlTemplate x:Key="EditAppointmentTemplate" TargetType="telerik:SchedulerDialog">...</ControlTemplate >
  • <ControlTemplate x:Key="EditRecurrenceTemplate" TargetType="telerik:SchedulerDialog">...</ControlTemplate >

After that, I create another ResourceDictionary where I define the Styles :

  •                     <Style BasedOn="{StaticResource EditRecurrenceDialogStyle}" TargetType="telerik:SchedulerDialog" x:Key="EditRecurrenceDialogStyle">
                            <Setter Property="Template" Value="{StaticResource EditRecurrenceTemplate}"/>
                        </Style>
  •                     <Style BasedOn="{StaticResource EditAppointmentDialogStyle}" TargetType="telerik:SchedulerDialog" x:Key="EditAppointmentDialogStyle">
                            <Setter Property="Template" Value="{StaticResource EditAppointmentTemplate}"/>
                        </Style>

Then, in the telerik:RadScheduleView I set the proprieties in the following way :

  •             <telerik:RadScheduleView
                                        ...
                                        AppointmentsSource="{Binding Appointments}"
                                        EditRecurrenceDialogStyle="{StaticResource EditRecurrenceDialogStyle}"
                                        EditAppointmentDialogStyle="{StaticResource EditAppointmentDialogStyle}"
                                        ...>

When I test the styles individually it works. However when I test with both styles define, I have this error:

  • ArgumentException: Item has already been added. Key in dictionary: 'Telerik.Windows.Controls.SchedulerDialog'  Key being added: 'Telerik.Windows.Controls.SchedulerDialog'

How can I fix that ?
Thanks in advance for your help.

Gael
Top achievements
Rank 1
 answered on 01 Oct 2018
9 answers
261 views
I currently provide columns and bar charts with a LinearAxis using a ScatterPointSeries with a custom PointTemplate and SmartLabelStrategy (as suggested in this forum). However, now I need to add functionality for Stacked and Stacked100 bars/columns that are supported by BarSeries.  I would prefer to have less, not more, code just to draw the bars/columns for a LinearAxis.  Are there any plans to support a BarSeries for LinearAxis?  Thanks - Mitch
Dinko | Tech Support Engineer
Telerik team
 answered on 01 Oct 2018
5 answers
454 views

If I use a TabControl with the Fluent theme and switch to the dark mode then the header of the control does not switch to dark theme properly.

The background seems transparent and the header content is not visible.

Version 2018 R3

See really simple sample project attached (renamed zip to jpg ;) ).


Dinko | Tech Support Engineer
Telerik team
 answered on 01 Oct 2018
6 answers
235 views

i have two problems in using map control in right to left

i am using a custom map tile provider

the flow direction of my application is right to left when i open the map control my map tiles are mirrored all the streets and texts and ... are reverse as if i have put the image in front of a mirror. to relieve that issue i put the flow direction of the rad map to left to right. now i have my second problem! when i want to export the map view as a png file the exported file is mirrored!

is this a known issues or am i doing something wrong ?

thx in advance for your help

Sayyed Hossein
Top achievements
Rank 1
 answered on 29 Sep 2018
1 answer
161 views

     Hi there,

I want to be able to show symbol shapes in the toolbox but create the actual shapes when it is dropped on the diagram. right now gallery items accept a shape but cant change the appearance of it. style templates didnt work either. any idea how to do this ?

Zickige
Top achievements
Rank 1
 answered on 28 Sep 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
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?