Telerik Forums
UI for WinForms Forum
1 answer
158 views

Hi -

I want to create a custom editor that has just a textbox and a button.  The button will launch a form that allows me to select an object of type Product.  When I click OK on the form, I want to display the Name property of the object (in the text box in the grid, as read only), but I want the VALUE to be a different property, in this case ID.

My object looks like:

class Product

{

   string Name;

   Guid ID;

}

How can this be achieved?

 

Thanks in advance!

Dimitar
Telerik team
 answered on 20 Aug 2019
18 answers
843 views

Hello,

 I have 2 issues with the attached chart legend:

1) I would like the legend items to be displayed on 2 adjacent columns (see chart legend expected.png). Is that possible?

2) I don't know if you noticed but item legend texts are not perfectly left aligned. Do you have a fix for that?

 

Best,

Mathias

Xavier
Top achievements
Rank 1
 answered on 20 Aug 2019
15 answers
337 views
Hello!

I have a little question about RadGridView editors.

In SQL Server 2008-Entity Framework context, a Time datatype field is translated as a .NET TimeSpan class. I tried to edit this kind of fields in a RadGridView, but a cast exception is thrown.

Is there any way to edit this data type in the GridView?

Thank you so much.
Nadya | Tech Support Engineer
Telerik team
 answered on 19 Aug 2019
7 answers
437 views

Hello,

How can we change the largechange option for the vertical scrollbar in the radlistview?

Setting RadListView1.VerticalScroll.LargeChange does not seem to have any effect.

Regards

Patrick Vossen

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Aug 2019
4 answers
1.7K+ views

Hello,

Cell double click event is not firing In the rad grid view when the grid cell property is Readonly = False(Cell edit). 

We need a option that during cell edit it should trigger the cell_double click event.

Attached demo project for your reference. Please suggest & do the needful.

Demo project   & Demo video

Dev
Top achievements
Rank 1
Veteran
 answered on 17 Aug 2019
7 answers
1.0K+ views
Hi guys,

we want to highlight the currently focused TextBox/MaskedEditBox/ComboBox/MultiColumnCombo, so i thought to use a different BorderColor, but i couldn't find the correct condition... i tried to use this condition: "Telerik.WinControls.RadElement.IsFocused" to set a different BorderColor on the BorderPrimitive, but i think this condition can't be reached because the border never got focus...
Could you please tell me how to set a different ForeColor to the BorderPrimitive when the TextBoxItem GotFocus?

Thank you

Alwin
Nadya | Tech Support Engineer
Telerik team
 answered on 15 Aug 2019
1 answer
100 views

Hello,

In my form, there are 2 resources (in English and in French). I found out the text of listdataitem/descriptionlistdataitem in dropdownlist cannot be set in the language resources. In whatever language it just modified the text in the designer file.

That is what I found in my designer file:

'
'RadDropDownList1
'
resources.ApplyResources(Me.RadDropDownList1, "RadDropDownList1")
Me.RadDropDownList1.Name = "RadDropDownList1"
Me.RadDropDownList1.ThemeName = "AcksysOffice2010Silver"
RadListDataItem1.Text = "ListItem 1"
RadListDataItem2.Text = "ListItem 2"
DescriptionTextListDataItem1.DescriptionText = "FR Description 3"
DescriptionTextListDataItem1.Text = "ListItem 3"
DescriptionTextListDataItem2.DescriptionText = "FR Description 4"
DescriptionTextListDataItem2.Text = "ListItem 4"
Me.RadDropDownList1.Items.Add(RadListDataItem1)
Me.RadDropDownList1.Items.Add(RadListDataItem2)
Me.RadDropDownList1.Items.Add(DescriptionTextListDataItem1)
Me.RadDropDownList1.Items.Add(DescriptionTextListDataItem2)

 

To reproduce the issue:

1. Create a dropdownlist, and then create a textlistdataitem in it. Modify the text of the textlistdataitem to "Text A".

2. Change the form language to French ( or any other language)

3. Modify the text from "Text A" to "Text B".

4. Run the program in English windows and then in French Windows

You will found out the text is always "Text B". Actually, it hasn't created the French text in the French resource, it just modified "Text A" to "Text B".

 

Thank you for advance.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Aug 2019
2 answers
288 views

Hi

I have a DocumentTabStrip inside a RadDock. Initially it has one DocumentWindow and one tab. Dynamically I then add extra tabs depending on what they user does. This works.

However, if I close all the tabs, the DocumentTabStrip disappears (documentTabStrip2.Controls.Count == 0 documentTabStrip2.Visible == false). If I add a new tab to the now empty DocumentTabStrip (documentTabStrip2.Controls.Count == 1) and set documentTabStrip2.Visible to true, it does not reappear.

How can I close all the tabs on my DocumentTabStrip then add one back and make it appear again?
 
Regards
Chris

Chris
Top achievements
Rank 1
 answered on 14 Aug 2019
4 answers
275 views
Is it possible to change the color of the NullText for a RadTextBox control?  For example, I'd like to have the NullText show as red and then if text is entered, show that as black.

Thanks,
Ole
Nadya | Tech Support Engineer
Telerik team
 answered on 13 Aug 2019
3 answers
237 views

I just saw and testing the new layout control and it is wonderful.

I am wondering is there a way to save properties like width, height, text, etc... of the embeded controls along with SaveLayout of the layout control.

It would be great functionality.

 

Regards,

Simeon

 

 

Simeon
Top achievements
Rank 1
Iron
 answered on 13 Aug 2019
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
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
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
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
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?