Telerik Forums
UI for WinForms Forum
2 answers
1.1K+ views

Hello, I'm currently integrating an API into my application. This API sends out emails, but linebreaks needs to be in \n format. Now, my question is how do I replace the regular (I suppose enviroment.newline) with \n. I tried to do a txtMailMessage.Text.Replace(.....) but it does not work. 

 

Thanks in advance

Nicklas
Top achievements
Rank 1
 answered on 11 Mar 2019
3 answers
119 views

When the user clicks on my shape, I'd like to make the outline red, and maybe thicker border. How can I accomplish this?

I thought it would just be a matter of putting this in my ElementShape-derived classes, but it seems my overrides for ForeColor and BackColor are only called when a new shape is placed on the diagram.

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Mar 2019
5 answers
983 views

Dear All,

I wanted to alternate the rows in my RadGridView, but the way I searched was using RowFormatting events, which I didn't want to use.

Is that possible?

Best wishes.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Mar 2019
1 answer
68 views

Hello,

I use range seletor to associate with a radchartview.

If I associate the RadChartView control to RadRangeSelector both in design time and in program (in the function "form_load"), there is a strange behavior.

After I changed the form size, the range selector will initialize start range and end range by which means it cannot memorize the start/end range set by the movement.

However, if I only do "Me.radRangeSelector1.AssociatedControl" ONCE in the design time or in the program, the problem will be disappeared.

In my opinion, there is a bug in RadRangeSelector. It cannot support AssociatedControl 2 times. This issue doesn't appear for the other proprieties, even I set the other proprieties both in design time and in program.

I made a simple demo, please download here:

https://www.dropbox.com/s/u61lk7yql1ua25f/TestRangeSelector.rar?dl=0

 

In order to reproduce the issue:

step 1. launch the demo

step 2. move range selector

step 3. change the form size

You will see the range selector return to its original location.

You can remove this line in RadForm1_Load:

RadRangeSelector1.AssociatedControl = RadChartView1

 

Or remove the associated control in design time. You will find range selector can memorize the location all the time.

 

It makes us lot of time to find out. If it is a bug, please correct it. If it is not, any explication ?

 

Thank you by advance.

Regards,

 

Hristo
Telerik team
 answered on 07 Mar 2019
3 answers
541 views
I am trying to modify the color of the filter row in a RadGridView in the visual style builder.  I have changed the BackColor property of the GridFilterRowElement but the filter row cell color does not change.  Am I setting the wrong property?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Mar 2019
1 answer
375 views

In Excel, holding onto a single value, you can paste it across all cells of a rectangle that you draw. I would like to duplicate this behavior with radGridView. Is it possible? I have tried it in my own program but it doesn't seem that the value is pasted across all cells selected, just the first one that was clicked on.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Mar 2019
1 answer
346 views

Hey, 

Is there a way to prevent the popup closing when i select a certain value ?

On PopupClosing event, with args=true, i can cancel event but the selectValue return the old value, not the new selected.

Thanks in advance ;)

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Mar 2019
3 answers
111 views

Hello,

using the RadMenu inside Winforms in an Excel Add In leads to problems:

  • Excel exits with code > 0, which means there was a problem
  • Excel (sometimes) takes 3-5 seconds to close 
  • Excel sometimes restarts after closing (which is the main problem, because it's very annoying for the customers)

Attached is a simple test project

  1. Run the project
  2. Click the "button2" (a simple form with a RadMenu opens)
  3. Close excel directly (do not close the form first!)

From what I've found, I think it has to do with some kind of animation thread... ?

Kind regards,

Christian

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Mar 2019
3 answers
145 views

Hi,

 

I have a Virtual Grid with Hierarchical Data. If i select inner table or child table rows, it returns 1st row. Can you please help me to sort this issue.

 

--Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Mar 2019
5 answers
157 views

Is it possible to have text in gallery item in several lines? I don't need a description text, but do need long main text. Was trying to do it with the code below, but if the text is really-really long then it will be clipped off on the top and on the bottom. I would expect ellipsis cutting the text, not clipping on top and bottom.

var item = new RadGalleryItem(text, image);
item.MaxSize = new Size(300, 64);
item.TextImageRelation = TextImageRelation.ImageBeforeText;
item.Children[2].Children[1].Children[1].Visibility = ElementVisibility.Collapsed; // hide description
((TextPrimitive)item.Children[2].Children[1].Children[0]).TextWrap = true;

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Mar 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
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?