Telerik Forums
UI for WinForms Forum
16 answers
270 views
Hi Telerik Team,

I am trying to add a RadToggleSwitch column in a WinForm GridView with boolean value but I am unable to figure it out on how to do that.

Could you please provide me the sample code or assist me in doing so?

Thank you in advance!

Best Regards,
Ahmed
Dimitar
Telerik team
 answered on 02 Nov 2017
1 answer
255 views

Hello. In my raddropdownlist is enabled autocomplete function (suggest mode). I'm intercept KeyUp event and when Text.Length in my TextBox element of RadDropDownList is 4,i make request to my API and fill dropDownList. (it's for optimization, because count of all my entities for dropDownList is more than 2 000 000 elements)

 

It's working fine, but only when I press the keys not very fast. If I quickly type a word to search, then a pop-up window with possible results for autocomplete does not showing! I can switch between options by pressing the keys down and up, and the options are changes in the TextBox element, but without a drop-down list.

Question: Is there any event that happens when autocompletion shows a drop-down list? I can catch a situation when the list does not drop out and manually execute the command to display.

Hristo
Telerik team
 answered on 01 Nov 2017
1 answer
139 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
305 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
203 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
286 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
162 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
73 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
116 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
52 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
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?