Telerik Forums
UI for WinForms Forum
8 answers
1.0K+ views
Hi Support,
I have an IBindingList of objects with a boolean property that a checkbox column is bound to. Only one object in the collection can have bolSelected = true at any time which is controlled by the collection so that when bolSelected is set to true, all other items will automatically have bolSelected = false. What I am hoping to see in the grid is when the checkbox is clicked, bolSelected is set to true and other selected item in the grid has their checkboxes unchecked automatically (as the bolSelected = false for all other objects now).

Is there was a way to make the CheckBox click update the row immediately, without entering into edit mode (as can be seen by the changing of icon in the row header). I can't seem to get the CheckBox to fire the changed event, which means that the change to bolSelected isn't being propagating to the rest of the collection. What is then the best way to refresh the grid now that the collection has changed?

Thanks for your help,
Dave
Hristo
Telerik team
 answered on 31 Aug 2017
1 answer
113 views
this.radRichTextEditor.IsReadOnly = true;

still allow you to add hyperlink the document body.

Hristo
Telerik team
 answered on 31 Aug 2017
4 answers
249 views
I'm working on making our application compatible with screen reading software. We have a RadCheckBox control on a form. The control is named chkIncludeInActive, and the text is "Include inactive." When the screen reader is enabled and you hover over the control, it says "Check box include inactive include inactive." This is despite the fact that I've set the "Accessible Description" and "Accessible Name" properties on the control both to "1" (for testing purposes). If I open the Element Hierarchy Editor, and I go to the underlying RadCheckBoxElement, I see the "Accessible Description" and "Accessible Name" are both set as "Include inactive." I can override these values in the Element Hierarchy Editor, but once I open up the form in Design mode again, the defaults are back. So it doesn't seem like these changes stick. I want to be able to override these values somehow and make them stick. The version we're using is 2011.1.11.419.
Hristo
Telerik team
 answered on 31 Aug 2017
1 answer
128 views

Hi, 

I have two question about RadCalendar multi-view mode, annual visualization.

What I try to do di edit each month name, on header, putting in it the counter of SpecialDays for each month. It's a company holiday calendar, so I need to show, for every month, the total working days (365 - SpcialDays.where(Date.Month == currentMonth, just for example). How I can achieve this behavior?

 

Second. Seems to be a problem with the control, in full year view. What happen is that if I set MinDateRange/MaxDateRange of the multi-view on values 01/01/2018-31/12/2018, and I set FocusedDate and SelectedDate on first date on interval (1/1/2018), with a layout of 2 rows and 6 columns, setting by code currentViewRow and currentViewColumn to 0/0, what I get as result is the print-screen attached. This will not happen in any other year (before 2017 and after 2018). I think the problem is due to that 22 august 2017 in today date and august month was badly placed as column/row 0-0 by the control himself.

 

This piece of code is what I use to set the control layout:

 

<code>

    if (today.Year == year)

            {
                colForCurrentDate = today.Month <= 6 ? today.Month - 1 : today.Month - 7;
                rowForCurrentDate = today.Month <= 6 ? 0 : 1;
                calendar.FocusedDate = DateTime.Now.Date;
            }
            else
            {                
                calendar.FocusedDate = calendar.RangeMinDate;
                colForCurrentDate = 0;
                rowForCurrentDate = 0;                               
            }
            
            calendar.CurrentViewColumn = colForCurrentDate;
            calendar.CurrentViewRow = rowForCurrentDate;

 

</code>

 

Is this a bug of the RadCalendar? What I can do in order to resolve this?

 

Thanks in advance!

Daniel
Top achievements
Rank 1
 answered on 31 Aug 2017
2 answers
149 views

Hello,

There appears to be an issue making tool window width adjustments via the splitters in a DPI aware app. Dragging a splitter with the mouse will eventually hide the document window as the tool window makes large changes when only small changes are wanted. This can be demonstrated with a new app with a RadDock control dropped on the form. Add 2 tool windows and 1 document window. Make the app DPI aware. Run the app at 150% and try making small width changes to either of the tool windows. The tool window will make a couple of large jumps and then completely hide the document window. It also doesn't matter which way you drag the tool window as the same phenomenon occurs.

Telerik Control Version: 2017.2.613.40

Framework 4.52 or higher.

Best regards,

Robert

 

 

 

Robert
Top achievements
Rank 1
Iron
 answered on 30 Aug 2017
8 answers
204 views

Hi,

I'm wondering if we could customize a chartView Legend to display a checkbox instead of default colored square.

The aim is the have the possibility to show/hide the related serie.

 

Regards,

 

Pixie

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Aug 2017
15 answers
898 views
I have a RadContextMenu with a half-dozen items; I cannot for the life of me find the events for menu items.  I'm in the "RadItem Collection Editor", and my six menu items are listed, but I have ONLY properties (Accessibility, Appearance, Behavior, etc) on the right.  There is no "Events" lightning bolt in the property editor toolbar.

There ARE events for the RadContextMenu itself, but only for "DropDownClosed/Closing/Opened/Opening".  So how do I, in the designer, set the handler for a context menu's menuitem click event?

Thanks!
Dave

(VS 2010 SP1)
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Aug 2017
3 answers
1.1K+ views

On certain forms, I want boderless Radbuttons.

I dont see a ShowBorders property, am I just missing it?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Aug 2017
2 answers
176 views

I'm trying to add clickable rectangles to a diagram, but the event handler doesn't execute. Why?

Thank you far any help!

private void button1_Click(object sender, EventArgs e)
       {
           var shape1 = new RadDiagramShape()
           {
               ElementShape = new RoundRectShape(0),
               Position = new Telerik.Windows.Diagrams.Core.Point(50, 50),
               Height = 100,
               Width = 100,
               BackColor = System.Drawing.Color.White,
               BorderBrush = new SolidBrush(System.Drawing.Color.Black),
               DrawBorder = true,
               ShouldHandleMouseInput = true,
               IsConnectorsManipulationEnabled = false,
               IsEditable = false,
               IsRotationEnabled = false,
               IsDraggingEnabled = false
           };
 
           shape1.MouseClick += shape_Click;
           radDiagram1.AddShape(shape1);
           radDiagram1.SelectionMode = Telerik.Windows.Diagrams.Core.SelectionMode.None;
       }
 
 
       private void shape_Click(object sender, EventArgs e)
       {
           ;
       }
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Aug 2017
4 answers
281 views

I want to add a condition on GridViewCheckboxColumn click event, requirement is 'when checkbox is clicked event should be fired.'

Currently i applied GridViewCell_Click event but it fired on current Cell not particularly on checkbox, and i don't want to use Cell_ValueChanged event according to my programming scenario because it reflects a lot of change in my code.

What should i do?

c# programming language

Muhammad Naveed
Top achievements
Rank 1
 answered on 30 Aug 2017
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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?