Telerik Forums
UI for WinForms Forum
1 answer
72 views

hi,

Can I change  focus cell of a GanttViewTextViewElement?

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Nov 2018
1 answer
95 views

Hi,

 

GanttView has 2 columns

I change value on the screen TEXT1

I want change TEXT2 value without raising ganttView_ItemChanged event

 

GanttViewElement.Columns.Add(new GanttViewTextViewColumn("A", "TEXT1");

GanttViewElement.Columns.Add(new GanttViewTextViewColumn("B", "TEXT2");

ganttView_ItemChanged(object sender, GnattViewItemChangedEventArge e)

{

    if(e.PropertyName.Equals("TEXT1"))

    {

          var view = e.Item.DataBoundItem as DataRowView;

         view["TEXT2"] = "Test";   

     // this code is call ganttView_ItemChanged

    

}

 

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

I need to iterate through the grid's rows and determine the boolean value for the checkbox column. This operation occurs when the user clicks on a button outside of the grid.

 

My attempts thus far have not returned 'true' on any rows that have the checkbox checked.

 

1.For x As Integer = 0 To dgvMain.RowCount - 1
2.     
3.    If DirectCast((dgvMain.Rows(x).Cells("colTag")).ColumnInfo, Telerik.WinControls.UI.GridViewCheckBoxColumn).Checked = True Then
4.        _mvTaggedItems &= dgvMain.Rows(x).Cells("colItem").Value & DataBASIC.VM
5.    End If
6.Next
Dimitar
Telerik team
 answered on 19 Nov 2018
1 answer
190 views

Hi,

For the Row indicator column on the very left. I would like to change the background color based on an entry on one of the row values. 

I have checked out this article - https://docs.telerik.com/devtools/winforms/gridview/cells/formatting-cells

But do not know the type in order to get the row indicator cell/column

Thanks!

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

Hello,

I'm exporting a grid's contents using GridViewPDFExport and rendering with PDFExportRenderer, to use as a report.  The requirement is to add a signature block on the last page.  I understand that I can override the header or footer events, but in this case, I'd prefer the additional content to be added within the page itself, after the grid's contents (either below, or if doesn't fit, on the next page.)  Any ideas how I can accomplish this? 

Thanks!

Dan

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Nov 2018
1 answer
264 views

Hi ! 

Every time that I update the query of my gridview, the SelectionChanged event is fired like 10 time in a row.

On this event, I have a procedure that takes some time so the action is very slow.

Is there a way to prevent that ? 

Thank you!

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Nov 2018
7 answers
239 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
203 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
613 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.5K+ 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
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?