Telerik Forums
UI for WinForms Forum
7 answers
196 views

Hello, 

The VSplit cursor does not seem to be scaling in DPI aware applications. It's not too bad up to 150% scale. But 200% scale or higher the cursor is almost invisible. This also seems to be the case for the SplitContainer control. Is there a solution for that?

Robert

 

Hristo
Telerik team
 answered on 16 Nov 2018
1 answer
162 views

Hi there,

     I'd like to modify the ForegroundColor of a specific TextMessage without affecting anything else.  Would you be kind enough to provide guidance on how this can be accomplished?  My goal is to have the text for some authors displayed in different colors according to their respective roles.

Thanks so much!

Todd

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Nov 2018
20 answers
530 views
I am using the new ChartView (scatter data series) and I would like to know if there is a way to use custom tooltips on the data points instead of the regular XValue and YValue.
Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Nov 2018
3 answers
1.3K+ views

I use this code to sum value from childrows to fill their parent rows :

    Private Sub RadGridView1_CellValueChanged(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles RadGridView1.CellValueChanged
        If e.ColumnIndex = 13 AndAlso e.Column.OwnerTemplate IsNot Me.template.Templates Then
            Me.EvaluateSumH2(CType(e.Row.Parent, GridViewRowInfo))
        End If

        If e.ColumnIndex = 7 AndAlso e.Column.OwnerTemplate IsNot Me.RadGridView1.MasterTemplate Then
            Me.EvaluateSumH1(CType(e.Row.Parent, GridViewRowInfo))
        End If
    End Sub

    Private Sub EvaluateSumH2(ByVal parent As GridViewRowInfo)
        parent.Cells(7).Value = Me.RadGridView1.Evaluate("Sum(Total)", parent.ChildRows)
    End Sub

    Private Sub EvaluateSumH1(ByVal parent As GridViewRowInfo)
        parent.Cells(4).Value = Me.RadGridView1.Evaluate("Sum(Total)", parent.ChildRows)
    End Sub

 

But when I changed column to sum is an expression column, the sum function does not work.

        Dim Total As New GridViewDecimalColumn("Total")
        Total.Name = "Total"
        Total.HeaderText = "Total"
        template1.Columns.Add(Total)        
        template1.Columns("Total").Expression = "a * b* c* d* e"

Please help, thanks before.

 

Regards

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Nov 2018
3 answers
668 views
 Is there a way to center the 'X' icon on the center of the column 'Remover' ? It's placed on the left and i cannot find a way to move it to the center, image of the grid attached. Thanks anyway, any comments about a better way to do this button column are appreciated too. Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Nov 2018
10 answers
535 views
hi,

I have a checkboxcolumn in my radgridview, and when the user set to true a cell, the backcolor of the current row changes . That's working fine. But when I scroll in my View, the backcolor of the row is moved to other row. The second row gets the backcolor of the firstrow and so on.

The code is :

        private void radGridView1_ValueChanged(object sender, EventArgs e) 
        { 
            if (this.radGridView1.ActiveEditor is RadCheckBoxEditor) 
            { 
                if ((bool)(this.radGridView1.ActiveEditor.Value)) 
                { 
                    radGridView1.CurrentCell.RowElement.DrawFill = true
                    radGridView1.CurrentCell.RowElement.BackColor = Color.Red; 
                } 
            } 
        } 


 What can the resolve this?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Nov 2018
1 answer
143 views

Hi,

How to make a column or cell read only based on some conditions.

I was exploring the CellFormatting event but cannot find how to achieve that.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Nov 2018
2 answers
58 views

Hi !

Is there a event where it passes over all the rows and display the row ? 

On the display of my data, I would like to change the backcolor of the row.

I tried the RowFormatting event but It only go on the first row...

Thank you ! 

Hristo
Telerik team
 answered on 15 Nov 2018
4 answers
749 views

I have a RadGridView with a GridViewDecimalColumn. I want to allow the user to move up and down to other rows using the up/down arrow keys, but it changes the value instead. This occurs even if I set ShowUpDownButtons to false.

I found an old example on the forum that explains how to change this behavior here: https://www.telerik.com/forums/gridviewdecimalcolumn-up-down-key. However when I try the code there, I can't get it to work. GridSpinEditorElement is not found. I have the Telerik.WinControls and Telerik.WinControls.UI namespaces included.

I looked up GridSpinEditorElement, to see if I needed a different namespace, and it seems it's no longer available. I'm referencing this page:

https://docs.telerik.com/devtools/winforms/api/html/t_telerik_wincontrols_ui_gridspineditorelement.htm

It says it's obsolete and shows version 2018.1.220.40. I'm on version 2018.3.911.40.

How can I implement this code now without GridSpinEditorElement?

Thanks

andi
Top achievements
Rank 1
 answered on 15 Nov 2018
5 answers
110 views

I have 5 Collapsible panels I want to dock to the top of a panel.  When I select them and choose TOP for Dock. the order seems to get randomly re-arranged.

 

What am I missing?

Dimitar
Telerik team
 answered on 14 Nov 2018
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?