Telerik Forums
UI for WinForms Forum
1 answer
95 views

Hello!

I was trying to use Sorting/Filtering/Grouping while using VirtualMode by using the default properties and methods and wasn't able to. I found this that said "In the future editions of RadGridView, we have planned to implement virtual grouping operations with a simpler and more useful API." in the year 2009. Have there been any changes? Can i use the functionalities that i want while using VirtualMode without having to override and subscribe several events to workaround this problem?

 

JP

Nadya | Tech Support Engineer
Telerik team
 answered on 14 Nov 2024
2 answers
178 views
In my case, the child gridview is so height(about one thousand records) and cannot see the horizontal scroll until the vertical scroll to the end. And I cannot found anyway to set the gridViewTemplate's width and height (not a row's height), so,  if cannot set these , then I don't know how the VerticalScrollState and HorizontalScrollState works?

Hope to get help.

Thanks!
neil
Top achievements
Rank 1
Iron
 answered on 14 Nov 2024
2 answers
194 views

I have a customer that when adding new records to my data grid doesn't want the records to disappear until the grid is refreshed.

For example, in the screen shot, the user has filtered the rows to State Program = "AK FFS" and NDC = "42543-003-01".  The user want to see the existing values while creating the new record i.e.,  NDC 42543-003-02.  When the user enters all the fields and the record gets added it disappears because of the current filters applied.  Is there a way to by-pass the filters on the newly added rows?

Appreciate any advise.

Álvaro
Top achievements
Rank 1
Iron
Iron
 answered on 05 Nov 2024
1 answer
49 views

Hi,

Is it possible to override the colour and width of the horizontal drag / drop visual cue? If so can you give me an example ?

 

Cheers

Toby

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Nov 2024
1 answer
268 views
During implementation different own styles, I've noticed some confusing moments, and I could find the explanation in docs.

Working with Padding Border and Margin expected structure was as it is described in a picture. Row element Content contains Cell element.

1)[RowBorders]
After format implementation Cells cover Row border.

        private void RadGridView1_CellFormatting(object sender, CellFormattingEventArgs e)
        {
            e.CellElement.DrawFill = true;
            e.CellElement.BackColor = Color.Orange;
            e.CellElement.NumberOfColors = 1;

            e.CellElement.BorderColor = Color.Yellow;
            e.CellElement.BorderWidth = 3;
            e.CellElement.DrawBorder = true;
            e.CellElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.SingleBorder;
            e.CellElement.BorderGradientStyle = Telerik.WinControls.GradientStyles.Solid;
        }

        private void RadGridView1_RowFormatting(object sender, RowFormattingEventArgs e)
        {
            e.RowElement.DrawFill = true;
            e.RowElement.BackColor = Color.GreenYellow;
            e.RowElement.NumberOfColors = 1;

            e.RowElement.BorderColor = Color.Aqua;
            e.RowElement.BorderWidth = 3;
            e.RowElement.DrawBorder = true;
            e.RowElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.SingleBorder;
            e.RowElement.BorderGradientStyle = Telerik.WinControls.GradientStyles.Solid;
        }
2)[Row Padding]
In case of adding padding to the row, cells were not surrounded by some row spaces, but only size of row and it's cells were increased.

e.RowElement.Padding = new Padding(20,20,20,20);
3)[Row and Cell Margin]
Setting Margin to the row or cell, adds margin to the group of rows or cells. (there is no margin between rows and cells)


e.RowElement.Margin = new Padding(20,20,20,20);
e.CellElement.Margin = new Padding(10, 10, 10, 10);
3.1) [Cell Margin Right side]
As you can see from the previous picture margin wasn't added to the group of cells on the right side.

4) Is there any docs about BorderThickness using, because only way of changing of changing Thickness of each border i see as BorderTopWidth, BorderBottomWidth, BorderLeftWidth, BorderRightWidth.

I would appreciate if you share docs where I can understand the concept of this implementations.
Thank You!
Dinko | Tech Support Engineer
Telerik team
 answered on 04 Nov 2024
1 answer
45 views

When RadNavigationView is in Compact mode, I'd like to change the background color of the popup that displays the subpages of a main element. I thought the setting radNavigationView1.NavigationViewElement.Popup.BackColor would do it, but this changes nothing.

Where are the settings to change colors and fonts for the popup?

Nadya | Tech Support Engineer
Telerik team
 answered on 04 Nov 2024
1 answer
131 views

Hello.

As far as I know, the last version of Telerik JustDecompile is "2024.1.131.0". Is version 2024.1.131.0 free from CVE-2024-0219? And is it a version after 2024 R1?

CVE-2024-0219
In Telerik JustDecompile versions prior to 2024 R1, a privilege elevation vulnerability has been identified in the applications installer component.  In an environment where an existing Telerik JustDecompile install is present, a lower privileged user has the ability to manipulate the installation package to elevate their privileges on the underlying operating system.

Dinko | Tech Support Engineer
Telerik team
 answered on 01 Nov 2024
1 answer
50 views

Hi

I have a GridView with a hierarchy consisting of a second level connected via a manual relation and a template.

Overall it works fine. But I have SortDescriptors defined for the MasterTemplate and other SortDescriptors for the second template.

The first level is sorted as defined, the second level is not sorted at all -  although the sort arrows appear correctly in the header of the lower level rows.

The user can change the sorting manually at runtime, that works fine.

Is this an error or might I be doing something wrong?

Dinko | Tech Support Engineer
Telerik team
 answered on 31 Oct 2024
2 answers
69 views

Hi, how can I disable the selection frames in a RadCheckedListBox? I tried the following code, but it didn't work:

private void radCheckedListBox1_VisualItemFormatting(object sender, ListViewVisualItemEventArgs e)
        {
            e.VisualItem.DrawFill = false;
            e.VisualItem.DrawBorder = false;
        }

 

Nadya | Tech Support Engineer
Telerik team
 answered on 30 Oct 2024
1 answer
49 views

Hi,

in VirtualGrid, if I use CTRL+X or "Cut" in the default context menu, the "Copying" event handler is fired.

I'm able to customize the context menu and add a specific callback for the "Cut" button.

But is there a way to understand if the "Copying" event handler is fired after the CTRL+X or CTRL+C shortcut? (I'm using the 2024.5.514.48 UI for Winforms version)

Thank you,

 

Emanuele

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