Telerik Forums
UI for WinForms Forum
3 answers
634 views

I have a grid view that has data bound to it.  What I am looking to do, is add a column, have an expression that computes the value in the field to text based on another columns value. I am unsure how to accomplish this.  Any help would be greatly appreciated.

 

For example, I have a foreign key column called PersonKey.  What I want to be able to do is call a public method that returns a string of the Person's name based on the key that is passed to it. 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Apr 2018
1 answer
557 views

Hello,

I have a RadButton in a winform with a circle shape and an image.  

The border of the button works fine when there the mouse is over the button, but one clicked and the mouse leaves the control, the border size seems to change.

Please see the attached images.  The one "with mouse focus" was captured with a screen shot while the mouse was over the button, but the Windows screen grab does not show the mouse.  The "no mouse focus" image is after the button has been clicked and the mouse is no longer over the control.

I have not been able to locate where to change the border setting when the button has been clicked, but does not have mouse focus.

Any suggestions?

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Apr 2018
2 answers
490 views

Hi,

I'm struggling with setting the tab order of my controls. I have a mix of controls, mostly RadTextBoxes, RadDropDownLists, and RadDateTimePickers. I have set the TabStop and TabIndex of the controls using Visual Studio designer. This taborder is not the order that I get.

I've seen some entries regarding TabStop for RadTextBoxes in this forum, so I've made sure that RadTextBoxElement.RadTextBoxItem.TabStop is true (in telerik's(?) designer). However, I cannot find a similar thing for the other type of controls.

1) How should one set the tab order of telerik controls?

2) If it is through a property of a somewhat hidden element inside a control, how is one supposed to find it?

Please advice.

Dimitar
Telerik team
 answered on 24 Apr 2018
11 answers
2.1K+ views
Hello:

I am doing some tests with my trial version of RadControls for WinForms. One common way we used to make forms is to create the "master" forms, and then inherit and customize it to concrete requeriments. Well, I am trying to create a "master", let's say "MasterForm" form with this content:

One RadTextBox, one RadPanelBar and one RadGridView. As usual, I've changed the component's modifiers to protected, in order to be able to edit them in child forms.

Now I create a specific form, let's say "CustomersForm" inheriting from "MasterForm". All right, the components shows but... what?! the RadTextBox properties can be edited, but both RadPanelBar and RadGridView are locked (despite the fact that I can see, in the child form, that modifier is set to protected. Also, I can see the locked icon over the components when I select them.

I have tried the following:
1) Make sure that component's modifiers are set to protected instead of private
2) Rebuild entire solution to ensure that assemblies are refreshed
3) Unload / Reload the project
4) Close / Open Visual Studio

I don't know what else to do in order to get them unlocked and modify their properties in child forms...

Thank you so much.
Dimitar
Telerik team
 answered on 23 Apr 2018
2 answers
117 views

I've used the following code example to set permissions for a selected range in a richtexteditor, however, I would like code for removing previously set permission(s) for a selection in the same richtexteditor. Any help you be appreciated, thanks!

J

'Protects current selection for current user only.
Dim info As New PermissionRangeInfo()
info.Type = PermissionType.Individual
info.Name = Me.RadRichTextEditor1.CurrentUser.Username
Dim infos As New List(Of PermissionRangeInfo)() From {info}
Me.RadRichTextEditor1.InsertPermissionRange(infos)
 
infos.Clear()
Jeffrey
Top achievements
Rank 1
 answered on 23 Apr 2018
1 answer
130 views
There appears to be a peculiar scaling issue when the RadColorBox is used in a dpi aware app running at scales greater than 100. This can be demonstrated by dropping a RadColorBox on a form in a dpi aware app and then running the app at 150%. Multiple clicks on the colorbox will show the problem. The first click the dialog is at the correct size for that scale. Close the dialog and open it again and now the dialog has shrunk to what is probably 100 scale. And now with each subsequent opening of the color box dialog the size alternates between large and small. Weird, right?
Dimitar
Telerik team
 answered on 23 Apr 2018
1 answer
301 views

Hi,

I have being searching in documentation but I have not found anything about it. I need to make a ListView with one texteditable column.

I have generated columns automatically but I need one of that columns editable by user when makes double click.

How can I achieve that?

 

Thank you and regards!

Dimitar
Telerik team
 answered on 20 Apr 2018
24 answers
1.2K+ views
Hi there @Telerik,
I'm experiencing some troubles with the MultiColumnComboBox control.

The following is my setup.
1. I load lsits of small data transfer objects containing two fields: the name of an object and the selection state of this object (selected or not selected).
2. In the nested RadGridView control I set AutoGenerateColumns to false and define two columns (one Checkbox column, which is editable, and one Texbox column, which is read-only). Both columns bind to the corresponding properties of the DTO.
3. I bind the DataSource property of the MCCB control to one such list and the control displays the information properly.
4. The nested RadGridView control has Multiselect set to true.

Now the problems:
1. Each click on a checkbox in the dropdown list closes the dropdown and does not let me check another field/row.
2. The first click on a checkbox will not raise the ValueChanged event. The next click raises the event, but with the old value (the value
prior the click).
What I need ist to be able to multiselect checkboxes and then get their current values when the dropdown closes.

What could be that wrong thing I'm doing, in order to get such musfunctioning?
Please also advise how to workaround these problems.

Many thanks in advance.

Kind regards,
Seilhardt Bogused
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Apr 2018
2 answers
164 views

Hello, 

I would like to know if it's easily possible to allow only horizontal moves for all shapes in a radDiagram.

I have tried to play with OnDrag event and I'm able to change the position of the shape at the end of the drag. But during the dragging, I don't know to lock the vertical position of the shape.

I hope my explanations understandable, thanks in advance.

florian
Top achievements
Rank 1
 answered on 18 Apr 2018
8 answers
687 views
Hi, Rather than just adding text nodes to a treeview I'd like to be able to a custom composite controls, made up of, for instance, a label, a combo box and a text box. Is this possible? Thanks Mat
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Apr 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)
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?