Telerik Forums
UI for WinForms Forum
6 answers
1.5K+ views

Hi

Using a RadBrowseEditor, how can I change at runtime (using code) the ForeColor of the text when control is disabled?

Eric Moreau
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 21 May 2019
0 answers
131 views

 Hi ,

I am using the relational gridview. when i click the button , i want the node will be expanded by condition . Follow the link : https://docs.telerik.com/devtools/winforms/controls/gridview/hierarchical-grid/how-to/expanding-all-rows . is it the best way to do it ? because i see it is really slow when expanding.

 

void ExpandAllRows(GridViewTemplate template, bool expanded) {
 foreach(GridViewRowInfo row in template.Rows) {

  if(row.Tag == conditionID){
  row.IsExpanded = expanded;

 }
 }
 if (template.Templates.Count > 0) {
  foreach(GridViewTemplate childTemplate in template.Templates) {
   ExpandAllRows(childTemplate, true);
  }
 }
}

Bao
Top achievements
Rank 1
 asked on 21 May 2019
2 answers
107 views
Hello,

 When using the following code my data points don't get connected properly, as seen in picture attached.
The picture attached is from only one Series object.The data is a list of objects with properties amount (an int) and datetime which is a value like this xxh30 or xxh00. 
    DateTimeCategoricalAxis categoricalAxis = new DateTimeCategoricalAxis();
    categoricalAxis.PlotMode = Telerik.Charting.AxisPlotMode.BetweenTicks;
    categoricalAxis.DateTimeComponent = Telerik.Charting.DateTimeComponent.Hour;
 
    categoricalAxis.LabelFormat = "{0:HH:mm}";
 
    foreach (RadCheckedListDataItem item in radCheckedDropDownListDates.CheckedItems)
    {
        List<MonitoringToolDomain.FILESPROCESSED> queryChart = new List<MonitoringToolDomain.FILESPROCESSED>();
        queryChart = MonitoringToolCore.FilesProcessed.QueryLineChart((DateTime?)item.DataBoundItem, fromHour, toHour);
 
        queryChart.Select(c => { c.DATETIME = CreateDateFromTime(2015, 12, 12, c.DATETIME); return c; }).ToList();
 
        LineSeries test = new LineSeries
        {
            DataSource = queryChart,
            ValueMember = "AMOUNT",
            CategoryMember = "DATETIME",
            IsVisibleInLegend = true,
            LegendTitle = item.DataBoundItem.ToString()
            //CombineMode = Telerik.Charting.ChartSeriesCombineMode.None
        };
        test.HorizontalAxis = categoricalAxis;
        radChartView.Series.Add(test);
 
    }
    radChartView.ShowLegend = true;
}

 I have a second problem, not sure if I should post it here but I don't want to create too many new threads. I would like to compare charts from different days as in my second attached picture. If I create different line series, the charts appear sequentially because they don't have the same date. The solution I'm using at the moment is to change the DATETIME parameter in all of my objects to have the same date part. Is there any other way to do this ? 

What I'm doing now : 
queryChart.Select(c => { c.DATETIME = CreateDateFromTime(2015, 12, 12, c.DATETIME); return c; }).ToList();

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 May 2019
2 answers
872 views
Hi everyone
I have to select a row in a winform radGridView after I made an update on that row in a sorted column and use the value of a cell in an ID column (column 0) as an index.
Can anyone please give me some help?
thanks a lot
Fabrizio
fabrizio
Top achievements
Rank 1
Veteran
 answered on 20 May 2019
5 answers
728 views
I've read posts about color blending and I think that is no longer available.  I would like to create some theme options for the user to pick from a color dialog (attached image) and apply that color as the color of the "Default" theme.  What is the way to do that now?

Thank you,
Gary
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 May 2019
3 answers
1.5K+ views

Hello,

I create a RadForm (named mainForm) with a RadDock.

I set the mainForm.MdiContainer = true and the radDock1.AutoDetectMdiChildren = true  and the chilForm.MdiParentwith = mainForm (for all children form).

When I close my mainForm, in the FormClosing event I call radDock1.CloseAllWindows() and FormClosing event of MDI children form fires.

 

However can you tell me if is it possible to show (to active) every child form when FormClosing is called ?

 

Thank you

Bests regards

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 May 2019
4 answers
184 views

I add a textBox column and set dataType to system.Byte.

when type in cell letter throw system.FormatException.

how to handle this exception

 

 

Dimitar
Telerik team
 answered on 20 May 2019
1 answer
101 views

Hello,

I use backstageview in my ribbonbar. I've enabled AutoScroll and set the AutoScrollMinSize in backstageview to use the scrolling bar if the window is too small.

But I've found a display issue when I drag the mouse to scroll. Please see the attached picture.

I invite you to download the video and the simple demo to reproduce the issue:

Video:

https://www.dropbox.com/s/em5hrxiosj62elo/backstageview_issue.mp4?dl=0

Demo:

https://www.dropbox.com/s/arkstdfkxi9pm52/RibbonBarDemo.rar?dl=0

 

Thank you by advance,

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 May 2019
1 answer
236 views

Hi,

I contact you about the new RadButtonTextBox control in winforms.

This control is perfect however can you tell me if is it possible to configure the textbox for decimal format ?

I would like to use this control in a Editor griview cell with element inherits of RadButtonTextBoxElement and replace this textbox by a decimal textbox ?

Thank you

Bests regards

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 May 2019
1 answer
82 views

I have a number of worksheets in a workbook, but I want to reorder them in a certain way. Is there a way to do this?

Tanya
Telerik team
 answered on 17 May 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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?