Telerik Forums
UI for WPF Forum
1 answer
174 views

Hello, I'm having this simple issue, I said it all in the title.
I'm using the RadGridView with SelectionMode="Extended" and SelectionUnit="Cell".
I've attached a sample project that reproduces the issue.

Repro steps:

  • Select cell "Manchester"
  • Ctrl-click again on cell "Manchester"
  • It puts it in edition mode instead of deselecting it

I've found a workaround where I ctrl-click on another cell ("Cell B"), then ctrl-click on the initial cell ("Cell A"), then ctrl-click on "Cell B" again, so that both cells are deselected. From what I understand, this is because the behavior is different whether I ctrl-click on the last selected cell, or on any other selected cell.

How can I fix this? Thanks! :)

Dilyan Traykov
Telerik team
 answered on 09 Nov 2022
1 answer
161 views

Hi

I am faced with the following problem.

The height is set in the style definition:

 <Style x:Key="clubsGridRowBackground"
			       BasedOn="{StaticResource GridViewRowStyle}"
			       TargetType="telerik:GridViewRow">
      <Setter Property="MinHeight" Value="70" />
</Style>

In the GridView parameters, the style is bound as follows:

  RowStyle="{StaticResource clubsGridRowBackground}"
If RowDetails is collapsed, than row height is 70, but if RowDetails  is expanded, than height becomes smaller (decreases to the old value). 

The problem is reproduced, for example, in a project RowDetailsTemplateSelector (samples for WPF) if you apply the style.

The same behavior occurs when used standard WPF DataGrid.

Is there a solution to this problem for Telerik RadGridView?

Vsevolod
Top achievements
Rank 1
Iron
Iron
 answered on 09 Nov 2022
1 answer
287 views

I'm trying to make my gridview box column show the dropdown tick without having to click

 


<telerik:GridViewComboBoxColumn Header="Active" DataMemberBinding="{Binding EnableCase}" UniqueName="Active" ItemsSource="{Binding Activeops}" DisplayMemberPath="Describe" SelectedValueMemberPath="ID" />

 

The Dropdown only shows up when i click on the header

 

 

Stenly
Telerik team
 answered on 08 Nov 2022
1 answer
168 views

Hello, actually I think I should have named this topic: "How to prevent drag'n'drop on a specific column", because it has little to do with the freeze, and most likely nothing to do with the fact that it's generated dynamically.

What I want is to display a specific column, and keep it in the view at anytime. The user must not be able to move it.

To this end, I set the LeftFrozenColumnCount to 1, and I move this column to index 0 when I'm done generating my columns, to ensure it's the one that is frozen. This is the initial setup when the user comes in.

Now, I want my user to be able to freeze and unfreeze any columns they want; I just need this specific column to NOT be unfreezable, so that it always stays in view.

I tried to set IsReorderable to false on this specific column, but then I can no longer freeze columns to the left of this column, and I want users to be able to do this.

I stumbled upon this thread: https://www.telerik.com/forums/preventing-resizing-and-re-ordering-of-specific-columns#850549

What Gary describes is exactly the behavior I'm looking for:

 Looking at the WPFToolkit grid, setting "CanUserReorder" to false means the user cannot drag and drop the column.  But after doing some testing, you're right in that a user can still just drop other columns in front to change it's posistion.

For now, I subscribe to the PreviewDrop event of the RadGridView, and I cancel the drop by setting e.Handled to true when the dropped data is the GridViewHeaderCell of this specific column. It works, but I want to prevent the drag in the first place, not just prevent the drop. Applying this technique to PreviewDragEnter, or DragEnter, does not seem to have any effect. 

How can I achieve this? Thanks!

Dilyan Traykov
Telerik team
 answered on 07 Nov 2022
1 answer
926 views

I was checking out the WPF UI and found that the Mica and Acrylic backdrop are not correctly picking up the light or dark palette set in the code. Instead, the effects are replying on the System/Windows Theme. 

If System Theme is set to Light, then the Dark Mode in RadWindow will not work correctly and similarly if System Theme is set to Dark then the Light Mode in RadWindow does not work correctly. This problem can be observed even in the Telerik's own control examples app.


Vicky
Telerik team
 answered on 07 Nov 2022
1 answer
163 views

We just tried to update to Telerik UI for WPF, version 2022.3.912.  This caused build errors because the method System.Collections.Generic.ExtensionMethods.GetValueOrNull was defined in two assemblies, Telerik.Windows.Documents and Telerik.Windows.Documents.Flow.

Peshito
Telerik team
 answered on 04 Nov 2022
1 answer
173 views

Hi

    Is there any plan for pdfViewer to load a signature with signature picture? 

    for now seems it supports only a single pfx, which is not quite enough.

Martin
Telerik team
 answered on 03 Nov 2022
1 answer
367 views

Hello,

I've got a RadGridView populated with an ObservableCollection of data that is loaded externally. The process of loading the data and displaying it takes some time and I would like to show something to the user to indicate busyness. 

I know RadGridView has a built in IsBusy property, Unfortunately, the indicator doesn't appear until the data has already loaded - I've tested this by setting IsBusy to true when I define it - it only appears once the grid is loaded and the data is displayed. I've also tried using the BusyIndicator and wrapping the grid with this but encountered the same problem in that it would only display once the rest of the grid was displayed.

I wonder if I'm missing something and there is still a way of using the in-built feature for my needs?

Cheers,

Toby

 

 

Martin Ivanov
Telerik team
 answered on 03 Nov 2022
2 answers
394 views

Dear Telerik support team,

I have got some problems with "Search as you type" function of RadGridView as below:

1. The search is not working with negative number. Example: in my grid, there is cell that contains the number -700. When I tried to type -700 in search box, nothing is happened.

2. I would like to search the formatted values, for example: 2.34 %, but the search is based on original value only. Do you have any workaround to achieve this behavior excepted the addition property as we have many grids with many properties already.

3. I want to search a number (decimal type) as string. It mean that I have a number 123.567 in a cell, i would to find this cell/row by typing only "123". Do you have any solution for that excepted to add a new property having string type?

 

Many thanks for your help,

Minh Tuan

minh
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 03 Nov 2022
0 answers
127 views

Hello,

Is there any way that Telerik can re-use an already opened RadPane instead of opening a new RadPane everytime? I want it so that a specific pane that is opened will just be re-focussed when the user selects from a RadMenuItem dropdown elsewhere (the menu is located in a separate WPF view from the pane). There is a similar question on here but mine is also using the CustomDockingFactory for creating/removing panes.

Thanks in advance

Erica
Top achievements
Rank 1
 asked on 02 Nov 2022
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?