Telerik Forums
UI for WPF Forum
1 answer
705 views

Hey everyone,

I'm currently working through some existing project, and would like to set up a RadComboBox that will complain if it doesn't have a current selection, or the current selection is an empty string. The current ComboBox is the stock WPF control, and populates itself like this:

const string sql = @"
    SELECT Item AS ListItem
    FROM...";
DataTable table = GetTable(...)
 
cbx.ItemsSource = table.DefaultView;
cbx.DisplayMemberPath = "Item";
cbx.SelectedValuePath = "Item";

 

I'm new to MVVM and WPF, and this doesn't seem standard. So, what I want to know is if there's a nice way to have the RadComboBox control complain about an invalid SelectedItem? Do I need to rip this apart and do data binding? If so, is there an example I can look at to get an idea?

As always, thanks for the help,

Lee

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Apr 2021
5 answers
263 views

Hi guys,

 

I am currently working on a way to display data, that is structured on 3 levels.
On first level is a week, on second level a day, and on the third level a basic entry.

Based on that system I thought about the RadGridView and the Child-Relations.
My main problems now are, that I have especially on the third level way too less space in the child-table so its basically unreadable. 
Is there any way to give the childtables more space? 

The other problem is, that I haven't found out, how I could set different Templates for the childtables.
The HierarchyChildTemplate only works for one Child as it seems.

 

The reason why I not just Group by the Days and weeks is, that I later want to use Drag and Drop entries between the days. 
I thought this would be more possible in a hierarchical system.

 

I also tested the RadPanelBar, but there I would need to create somethin like a table with frozen headers and so on manually.

 

Greetings,

Benedikt

Dilyan Traykov
Telerik team
 answered on 01 Apr 2021
4 answers
252 views

Hello,

I am using a Docking-Layout in my Application with some RadPane's in it. Each RadPane is bound to a different ViewModel. When the RadPane is visible, everything works as expected.

But I struggle with some Binding Errors when the RadPane is hidden on start up of my application. Is there a way to reset/update the DataContext of the RadPane when the PaneStatus changed to visible?

I can provide a code example if you want.

Cheers!

Tobias

Peter
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 01 Apr 2021
1 answer
142 views
Hello everyone. I'm working as a .Net developer for a small start-up and we're about to start development on an application that has to be modern looking. I've worked with MahApps before, and am also aware of the material design library. Does anyone has another cool framework to check out? Even just a small one for specific UI components.
By the way I'm planning to use MVVM light and nHibernate if it's relevant.
Angus
Top achievements
Rank 1
 answered on 01 Apr 2021
1 answer
177 views

I'm trying to spread out the items in my carousel so there is a bit of space between them (and ideally no change in z depth as they animate).

It seems like the items can only spread out to the edges of the screen. In my case I need 3 landscape images visible at once.

Instead of overlapping 3 images on screen like |[--][--][--]| where the center image is raised/focused, I'd like [-|-][--][-|-] where the side images are the same size and partially off screen.

I've tried the following, as well as using bezier curves with control points, etc.

<Path x:Key="horizontalPath" Stretch="Fill">
  <Path.Data>
     <LineGeometry StartPoint="-1000,0" EndPoint="1000,0" />
  </Path.Data>
</Path>

 

 

Vladimir Stoyanov
Telerik team
 answered on 01 Apr 2021
1 answer
188 views
How to assign the editor control type of a dynamically added property in code. I do not want to set the EditorTemplate nor do I want to use EditorAttributes...
Dinko | Tech Support Engineer
Telerik team
 answered on 01 Apr 2021
10 answers
1.6K+ views

Hi, on RadGridView ShowSearchPanel, 

1. How to change the text 'Full Text Search' ?

 

2. and How to delete of disable 'x',close boutton, in ShowSearchPanel?

 

Please give the solution and example Code. 

Thanks.

Dilyan Traykov
Telerik team
 answered on 31 Mar 2021
3 answers
139 views

While editing a value I want to be able to tab to the next item in the grid.  Currently this requires two tabs- the first one commits the edit and the second press to navigate. How can I change this behavior?

I am using RenderMode Flat.

I would accept navigating to the next item on Enter key as well as Tab if it makes the solution easier.

Dilyan Traykov
Telerik team
 answered on 31 Mar 2021
0 answers
115 views

Hi

i use tile in grid without tilelist

when i change tile's content, this can't show very well

if length of text is bigger than old text can't show full of old text

 

text just showing in size of old text

 

in pictures' i change "i" to "Hi" and you see what happend

smr
Top achievements
Rank 1
 asked on 31 Mar 2021
2 answers
258 views

Hey all,

I'm dense when it comes to xaml, wpf, and telerik. I'm looking to extend a regular Textbox with custom validation logic, which is all well and good. What I now want to do is handle errors, like RadMaskedTextInput does, where I can trip the error state/throw a validation error, have the box outlined red with the red arrow on the top right, and the error tool tip pop up when hovering.

There's good documentation that handles each problem individually, but the matter of tying it all together, and which error handling to choose, is the issue. If I could do the error handling/display of RadMaskedTextInput, or other telerik controls, without needing to use it, that would be great.

Thanks,

Lee

Lee
Top achievements
Rank 1
Veteran
 answered on 30 Mar 2021
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?