Telerik Forums
UI for WinForms Forum
2 answers
156 views

Hi
I have RadGridView with editable checkbox column. I created custom summary row item which code i presented below.

public class CheckedRowsSummaryItem : GridViewSummaryItem
    {
        public CheckedRowsSummaryItem(string name, string formatString, GridAggregateFunction aggregate)
            : base(name, formatString, aggregate)
        { }
        public override object Evaluate(IHierarchicalRow row)
        {
            int count = 0;
            foreach (GridViewRowInfo childRow in row.ChildRows)
            {
                try
                {
                    if ((bool)childRow.Cells["chkBoxKol"].Value)
                    {
                        count++;
                    }
                }
                catch { }
            }
            return count;
        }
    }

 

My problem is that when I change the chceckbox state my custom row summary for the column is not refreshed until I change current row or current cell. I tried to set IsCurrent properity on false or rise EndEdit() method for the grid in CellBeginEdit event but these solutions not worked. How could I programmatically make my summary refresh to avoid changing current column by the user?

 

All the best

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 May 2021
8 answers
300 views
I have an issue where is can be difficult or impossible to resize the Radform using the mouse.  The conditions;
  1. Most recent Telerik controls at this time, OS is Win7 64 Ultimate
  2. Style is Sizable, Minimum size is 1024,700
  3. Only affects the top left and right corner
  4. Happens on Win8 and VS2012 themes, but not the Office themes
  5. The form height and width can always be adjusted from the top or sides of the form

What happens is when the mouse is moved into the corner and the diagonal resize cursor appears, the form will not resize.  The attached image shows the effect. 

  1. In the first titlebar image, the mouse is moved into the corner from the center of the form. From the noted cursor position, the form cannot be resized.  From this position, once a resize is attempted, repositioning the mouse and retrying the resize may not work at all.
  2. In the second titlebar image, the mouse is moved in from outside the form, and from the noted cursor position resizing works fine.
  3. In the third image with the Office theme there is never any problem.
  4. The last 2 images show the same issue in the Telerik Theme viewer.  The same scenario applies as noted in pt 1 & 2 above.

The issue is a problem since the average user does not know what is going on or why it won't resize.  There is a lot of playing around with the mouse to get it work but it will not in many cases.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 May 2021
1 answer
113 views

Hi.  I want to bring a custom control that inherits from RasMaskedEditBox. But onKeyDown and OnKeyPress events do not fired.

public class myMask: Radmaskededitbox

{

protected override void OnKeyDown(KeyEventArgs e)

{

//My codes

}

}

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 May 2021
1 answer
418 views

Hello,

I would like to know if it is possible to access/change the same properties for the radVirtualKeyboardForm as it is possible for the radVirtualKeyboard. I'm creating an application for a touch screen and I would like to remove some buttons from the keyboard which are not related to the input the user has to enter.

If it is not possible: Is there a possibility to assign also a radVirtualKeyboard to a control? I mean, that the keyboard only appears, if the cursor focus is on the corresponding input field.

 

Thank you in advance and have a wonderful day!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 May 2021
1 answer
83 views

Hi,

I am curious to know whether there is out of box support for visualising GPX files on Radmap control. Any help / sample code will be appreciated.

Thanks in advance

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 May 2021
1 answer
114 views

Hello,

I have tried to use Custom Font with a BreadCrumb with the purpose of displaying an home icon for the first Element with the following code.

        MyBreadCrumb.BreadCrumbElement.Items(0).Text = ChrW(&HF015)
        MyBreadCrumb.BreadCrumbElement.Items(0).CustomFont = "Font Awesome 5 Free Solid"

But instead of a nice looking home Glyphs I have an old crossed ballot (see attached picture)

I'm missing something ?

By the way, you should take a look at Font Awesome Example  (in VB.NET) in the following page https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/glyphs and correct it. (the ChrW() instead of /uF017, the multiple variable settings instruction in one line).

Thank you for your support

Marco Guignard

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 May 2021
2 answers
764 views

Hi.

One of nice type of progress bar is "step progress bar" as like attached picture . How can make it in winform. 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 May 2021
1 answer
92 views
Is it possible to setup a chart with multiple y axis aligned as shown in the attached picture?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 May 2021
1 answer
117 views
I've looked but I can't find any way to select a sort on the object?  On a radDropDownList there is a "SortStyle" property.  This is what I am looking for, but on a CommandBarDropdownList.  I can of course sort the data beforehand, but I assumed there would be a SortStyle on it and if so, would rather use the existing functionality if it exists.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 May 2021
18 answers
1.4K+ views
Me.RadGridView1.Rows.Clear()
Me.RadGridView1.ColumnCount = 5
 
RadGridView1.Columns(0).HeaderText = "Id."
RadGridView1.Columns(1).HeaderText = "Name"
RadGridView1.Columns(2).HeaderText = "Under Appeal"
RadGridView1.Columns(3).HeaderText = "Terminated"
RadGridView1.Columns(4).HeaderText = "#"
 
RadGridView1.Columns(1).Width = 100
 
 
RadGridView1.Rows.Add ( 1, "John", True, True )
RadGridView1.Rows.Add ( 2, "Mary", True, False )
RadGridView1.Rows.Add ( 3, "Peter", False, True )


How do I get the radgridview to display checkboxes for boolean values for the last two columns? The columns get manually loaded.

Best regards
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 May 2021
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
+? 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?