Telerik Forums
UI for WinForms Forum
1 answer
139 views

I have a Winforms project that has been working just fine.

Recently, I decided to add an export to Excel spreadsheet feature. I am using the documentprocessing spreadsheet API. As soon as I perform a "new Workbook" call, my WinForms windows shrink if... and only if... I have the display font scaling set to 125% or more. It behaves fine at 100%.

Why if I instantiate a Workbook does it affect the WinForms views?

Dimitar
Telerik team
 answered on 21 Aug 2019
1 answer
204 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
990 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
408 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
495 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.9K+ 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.2K+ 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
157 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
331 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
369 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
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?