Telerik Forums
UI for WinForms Forum
1 answer
147 views
I used this code to get the points in the visible x range of the chart (I do not need the check on the y axis):

private bool CheckIfDataPointIsInTheAvaialableXRange(IChartView view, CategoricalDataPoint cdp)
{
      RadRect viewport = new RadRect(-view.PlotOriginX, -view.PlotOriginY, view.ViewportWidth, view.ViewportHeight);
      return (cdp.LayoutSlot.X >= viewport.X) && (cdp.LayoutSlot.X <= (viewport.X + viewport.Width));
}
However, I end up getting couple more points added to the end (128 instead of 122 points). So, I guess it has something to do with the ViewportWidth. Can you tell me what exactly is ViewportWidth? I thought I had this issue because of the legend, but I get unwanted points even when legend is not shown. How to be certain what width to take to get the visible width of the chart? By visible area of the chart I mean the area that contain values that are greater than 0 on both x and y axes, meaning only the first quadrant of the Cartesian system. If the chart title and labels on the chart interval values (eg. 0, 50, 100) are also included in the ViewportWidth, then how to subtract them from the ViewportWidth?
Hristo
Telerik team
 answered on 01 Nov 2017
1 answer
328 views

Hello

 

We recently moved our winform application from standard forms to telerik forms. The application is a tray application, and before moving we used to us about 6MB of memory at startup. This stayed pretty stable. 

Since moving, I noticed we are now using 70MB of memory. Because this is a tray app, it could be oped hundreds of times on a single server from different users. 

I was trying to figure out what is using the memory, and created a blank winforms form app, and a blank winforms using telerik. I notice a huge immediate difference. The winforms app uses 2MB, the telerik app uses 20MB. 

 

Does anyone have any advise how I can reduced the amount of memory being used in a telerik winforms app?

 

Many thanks

 

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Nov 2017
2 answers
208 views

I am trying to override the background theme colour for a CommandBarToggleButton (in default visual state ie untoggled). Below is what I have (but not working) - help appreciated!

CommandBarToggleButton button = new ...

button.SetThemeValueOverride(Telerik.WinControls.Primitives.FillPrimitive.BackColorProperty, Color.LightGreen, "", typeof(Telerik.WinControls.Primitives.FillPrimitive));

button.SetThemeValueOverride(Telerik.WinControls.Primitives.FillPrimitive.GradientStyleProperty, GradientStyles.Solid, "", typeof(Telerik.WinControls.Primitives.FillPrimitive));

Guy
Top achievements
Rank 1
 answered on 31 Oct 2017
12 answers
298 views
Hello Team,
                    I am here to say that i am having a Parent telerik dropdown which consists two values. If i select any one value from parent dropdown a new child telerik dropdown must  be visible (Means selecting Parent telerik dropdown value a new dropdown must be visible) in telerik rad scheduler.Is it possible to do so ? if yes provide some sample or code to over come this problem.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Oct 2017
2 answers
170 views

Hello,

I'm using Telerik version 2017 R2 for app.

I followed this guide to localize all texts as well as labels in Composite Filter (custom filter) dialog, please see my result below

Composite Filter Localization result

 

As you see:

1. The texts in GREEN rectangle are localized successfully by adding the prefix "FR_".

2. The texts in rectangle are not localized because I don't know exactly the Localized String Id to override the default text.

 

Please advice! Thanks a lot!

Thanh
Top achievements
Rank 1
 answered on 31 Oct 2017
1 answer
77 views

hello 

I want to fetch the values in the order they appear after sorting.

If access radGridView1.Rows, only get the values in before sorting.

What should I do?

Dimitar
Telerik team
 answered on 31 Oct 2017
1 answer
121 views

I need delete some links but i don't know how i can do it.

If i press the button of mouse, there are the delete option. But this, remove the child of node.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Oct 2017
2 answers
56 views

hello

After I paste it, there is a problem.

The problem is that the scrolls automatically advance.

Please refer to the attached gif file.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Oct 2017
1 answer
310 views

I have GridViewComboBixColum in a RadGridview, is there the posibility to change the width of the items that are displayed?, because the column is too short to allow see all the items that are contained in the DropDown.
Thanks in advance.

Hristo
Telerik team
 answered on 30 Oct 2017
1 answer
315 views

I used BindingList for data binding,

BindingList<Person> personList = new BindingList<Person>();
radMultiColumnComboBox1.DataSource = personList;

 

RadMultiColumnComboBoxElement multiColumnComboElement = this.radMultiColumnComboBox1.MultiColumnComboBoxElement;

multiColumnComboElement.EditorControl.MasterTemplate.AutoGenerateColumns = false;

GridViewTextBoxColumn column = new GridViewTextBoxColumn(); 
column.HeaderText = "ID";

column.FieldName = "id";

column.Name = "colId";
multiColumnComboElement.Columns.Add(column); 
column = new GridViewTextBoxColumn(); 
column.HeaderText = "Name";
column.FieldName = "name";
column.Name = "colName";
multiColumnComboElement.Columns.Add(column); 

Let Person object have two properties, id and name. I set ValueMember to id and DisplayMember to name.

And I set the SelectedValue,

radMultiColumnComboBox1.SelectedValue = person.id;

This is working correctly. But when person.id become null, SelectedValue is not null, instead it select first item of BindingList<Person>.

I can't understand why. Pls answer to me.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Oct 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)
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?