Telerik Forums
UI for WinForms Forum
0 answers
2 views

the data has been bind to radgirdview ,how to set the rowspan at runtime ? because must use set DataSource method to render data ,so cann't render the gridview cell by cell.

sun
Top achievements
Rank 1
Iron
 asked on 18 Mar 2024
0 answers
2 views

Is there a way to detect when the user clicks on the column header to sort.

An event like SortStarted and SortFinished?

I'd like to capture that event to perform some special processing.

Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
 asked on 14 Mar 2024
1 answer
7 views

Hi,

 

I used to do custom cells by adding controls through "createChildElements" methods, but it was really slow when having multiple columns and row displayed.

So I tried to use graphics only and I did everything in "PaintContent" methods. This is way faster, very smooth, but I sometimes have an error (very randomly) on bounds object (of radshaped form) being lock by another thread.

I wanted to know if this workaround for painting cells approved or not?

If not what/where would you recommand to do this?

Thanks in advance!

 

Simon

 

Dinko | Tech Support Engineer
Telerik team
 answered on 14 Mar 2024
1 answer
4 views

Hello,

I would like to ask for help with designing parameter editor with subitems. I have editor of test items, each item has some parameters and tolerances (Min, Max). Standard tests have just main tolerances, but some tests have also subitems. More precisely, if test has subitems, only subitems have tolerances, main tolerances are not used. Columns for items and subitems are almost the same, items have parameters and subitems don't have any parameters, but there is just a name of subitem instead of test type of parent item. So first attempt of editor looks like this:

One small question to this solution, how can I show "+" only if there are some subitems?

But I am not satisfied with that design, subitems have own border, own column headers, it's little bit confusing and not very clear. I know it's standard way of master-detail views, but in this case, I would prefer design similar to self referencing hierarchy, because columns are almost the same, just some cells are empty and I have name of subitem name instead of test type.

I have made a second test with selfrefencing and changed the screenshot a little bit to show you what I am trying to achieve. Is it possible to have view similar to this?

I think I can do it with some modified data structures specialized for editor, I can use nullable properties for tolerances and parameters to hide certain cells, handle some events to have those empty cells readonly, maybe it would be tricky to show indented subitem name in test type combo box column, but I think this solution would be a little bit ugly. Is there any better way to do this?

I have attached my test project for tests.

Nadya | Tech Support Engineer
Telerik team
 updated answer on 14 Mar 2024
1 answer
4 views

I am using an old version of RadGridView and from what I see the property EnableHeaderCheckBox properties not exist.

If there are any properties in an older version that I can use to implement select all by selecting column header.

Nadya | Tech Support Engineer
Telerik team
 answered on 14 Mar 2024
1 answer
4 views

Hi all,

How do you modify (or prevent) the display default "no data to display" text in when no line or column is yet set up ?

All forum answers are very old an do not work anymore, nor gridview.ShowNoDataText = false;

Thanks

Patrick

Nadya | Tech Support Engineer
Telerik team
 answered on 13 Mar 2024
1 answer
11 views

I have 2 grids with drag and drop capability, one of them is just a simple grid with 2 columns, the other grid is a grid with 3 Hierarchical Templates that have 3 associated BindingSources.

How can I, when dragging and dropping from the simple grid to the hierarchical grid, determine which Template I am dragging the row to and add it to that Template/BindingSources?

I used exactly the example code you have here (https://docs.telerik.com/devtools/winforms/controls/gridview/rows/drag-and-drop), and indeed everything works.

I just wanted to understand if it's possible to know which Template the row is being dragged to and add it exactly to that Template.

Nadya | Tech Support Engineer
Telerik team
 answered on 12 Mar 2024
2 answers
13 views

I have a series of grids on a form, and all but the first one is created at runtime. Each grid has the same ValueChanged event handler attached to it. How can I tell which grid fired it?

private void ValueChanged(object sender, EventArgs e)
{

}

I tried intercepting the CellClick event (since that fires first) and getting the id from the tag property into a form-wide variable but that seems like a major kludge.

private async void CellClick(object sender, GridViewCellEventArgs e)
{
     myTag = (int)((MasterGridViewTemplate)e.Column.OwnerTemplate).Owner.Tag;
}

Any better ideas?

Thanks

Carl

Dinko | Tech Support Engineer
Telerik team
 answered on 08 Mar 2024
1 answer
12 views

I have made a Custom Summary grouper to show summary data "inline" with grouped rows, it will be great if something similar could be done native.

I attach project example if someone is interested

Custom summary grouper example

Dinko | Tech Support Engineer
Telerik team
 answered on 07 Mar 2024
1 answer
18 views

I need to quickly develop an 'updater' application that allows updating one or more software. I would like a look similar to the Adobe updater. What should I choose as a component? A grid? A ListView? Is it possible to have a column in the grid that changes its appearance: switches from a button to a progress bar?

 

Dinko | Tech Support Engineer
Telerik team
 answered on 01 Mar 2024
Narrow your results
Selected tags
Tags
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
Buttons, RadioButton, CheckBox, etc
DropDownList
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
Menu
RichTextEditor
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
Tabstrip (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
TrackBar
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ImageEditor
ScrollBar
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Barcode
Styling
ColorBox
PictureBox
Callout
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
CalculatorDropDown
Localization
TimePicker
ValidationProvider
FontDropDownList
Licensing
BreadCrumb
ButtonTextBox
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?