Telerik Forums
UI for WinForms Forum
2 answers
236 views

How can I add new controls (buttons, raddropdownlist etc) to RadbindingNavigator? When using Microsoft control it is pretty easy and can be done at design time. Any clues?

Thanks

Wojciech

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Nov 2017
1 answer
155 views

Hello,

I encountered the following issue (and found a solution) with GridView when using the Office2010Black theme:

When the font of the parent form (RadForm) was set to let's say Segoe UI; 9,75pt; style=Bold and this form contained a RadGridView, then the font of the GridView root element even got this font settings and thus all texts of the grid view were displayed in the font of the parent window with the following visual result:

.http://www.incosol.de/images/TestProgWhIssue.gif

Reason:

In the RootRadElement of the RadGridView the Font property wasn't set to a specific text repository.

http://www.incosol.de/images/StyleBuilderOriginalThemeSettings.gif

Solution:

The font property of the RootRadElement of the RadGridView has to be set to a specific text repository.

http://www.incosol.de/images/StyleBuilderCorrectedThemeSettings.gif

Result:

http://www.incosol.de/images/TestProgWhOutIssue.gif

 

Regards,

Jürgen

 

Dimitar
Telerik team
 answered on 06 Nov 2017
1 answer
190 views

I am looking for an event to tell me when the scroll bars visibility changes, if it exists.

 

TIA

Dimitar
Telerik team
 answered on 06 Nov 2017
2 answers
373 views

Hi guys, how are You. 

I have one quesition and I hope You guys can help me.

Ok, datasource in my radgridview is DataTable( filled with DataAdapter / query). < - I have to use this because quety is using PIVOT  construct.

You can see the results of my query in attachment. Now You see that cells with the values? its 3 , 20, 8 , 10 etc. Now i want to change the color or what cell based on that value. Ex. if the cell value is 20 then 20 % of that cell should be Color.Red and so on, cell with Null value or 0 value should stay the same color ( default one ). 

I hope You guys will understand my question.

 
Dimitar
Telerik team
 answered on 06 Nov 2017
6 answers
1.0K+ views

Hello,

I'm able to set the background color of the layout control by setting its BackColor property to a Color value but I can't find a way to reset the background color to the Theme's default. The Method ResetValue() is not available for RadLayoutControl.

Any help would be appreciated!

Thanks

Jürgen

Jürgen
Top achievements
Rank 1
 answered on 03 Nov 2017
1 answer
131 views

Hi;

I am trying to selectAll all value from RadGridView. On ViewModel, I have a ListCollectionView, which represents all value from RadGridView. And i was able to take every value and set IsSelected to true.

foreach (var value in ListCollectionView)
{
value.IsSelected = true;
}

On RadGridView; those value that i can see, are highlighted but if i scroll down those i couldn't see are not  highlighted.

Is anyone why.

Thank you for help.

 

 

Dimitar
Telerik team
 answered on 03 Nov 2017
4 answers
305 views

Hi, 

I am creating some custom RadDiagramShapes, using Shape -> Create new custom shape. I have also added custom connectors and configured the LightVisualElement child to display some text. (as in attachement)

Is there any way for these connectors to stay always visible in RadDiagram, even if shape is not selected?

I have tried to override the UpdateVisualStates method from RadDiagramShape, using VisualStateManager.GoToState(), with no success. 

I am using .NET Framework 4.5.2  and Telerik 2017.3.912.40

 

Thanks!

Cezara
Top achievements
Rank 1
 answered on 02 Nov 2017
16 answers
338 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
280 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
165 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
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
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?