Telerik Forums
UI for WinForms Forum
1 answer
151 views

Hi Telerik,

I have been able to modify and add context menus to cells. However when the cell is being edited and I right click on it gives me a context menu that I can't seem to modify. Could you tell me how I can replace this context menu?

Cheers

 

Phil.

Dimitar
Telerik team
 answered on 06 Sep 2017
2 answers
103 views
What is the best way to react to a shape being drag-dropped onto the diagram from the toolbox? At the moment I'm subscribing to the ItemsChanged event but I'm sure there must be a better way? I'm also doing things with drag-drop (shapes within the diagram) but this doesn't seem to relate to the toolbox.
Dimitar
Telerik team
 answered on 04 Sep 2017
11 answers
226 views

Hi, 

how to create three items which have three different images. I read the previous answers, but I could not find the answer 

//////////////////////////

DiagramListViewDataItem item = new DiagramListViewDataItem();
item.Key = "MyShape";
item.Shape = new AShape();
item.Group = radDiagramToolbox1.Groups[0];
radDiagramToolbox1.Items.Add(item);

//////////////////////////

But the above code is about custom shape not custom image! 

Hristo
Telerik team
 answered on 01 Sep 2017
8 answers
958 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
108 views
this.radRichTextEditor.IsReadOnly = true;

still allow you to add hyperlink the document body.

Hristo
Telerik team
 answered on 31 Aug 2017
4 answers
236 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
120 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
141 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
190 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
864 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
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?