Telerik Forums
UI for WinForms Forum
2 answers
158 views

Hello,

I have a list of items in a RadPageViewPage, in which I can select an item. A specific view for the selected item, depending on its type, is displayed in another RadPageViewPage. I then have to change the content of the panel in the second RadPageViewPage depending on the selected item, which is done simply with the following code:

           1 UserControl userControl = new UserControlRobotActionProcess();
           2 userControl.Parent = radPanel1;

I observed it took quite long to display the UserControl in the panel and measured the time of the line of code 2 above: 400ms. I then tested to display the same control, but with standard WinForms controls instead of the Telerik ones. The same line of code takes 1ms.

I think that the views I use could be optimized and could be loaded faster. I attach a screenshot of the view I have loading time issues with. Here is also the list of Telerik controls I use:

- RadSpinEditor

- RadPanel

- RadPageView

- RadPageViewPage

- RadLabel

- RadGroupBox

- RadButton

- RadRadioButton

- RadCheckBox

- RadTextBox

Do you know if I can improve the loading time of this UserControl?

 

Please feel free to tell me if you need more information.

 

Kind regards,

Antoine

Antoine
Top achievements
Rank 1
 answered on 06 Mar 2020
1 answer
515 views
     Hello, we have a program requirement where the user can select one or multiple rows and then choose to "highlight" those rows from a given set of colors.
This process can be repeated multiple times allowing the user to color code rows in different colors at a time.
The work flow ->
User selects rows
User then chooses the Highlight Rows menu option which is a drop down for different colors.
The rows background are then set to that color.

Rinse -> repeat as the user sees fit.

There is also a reset option that resets all the rows back to the default colors.

I did not see how to perform this specific type of background color assignment in either the Formatting Rows or Conditional Formatting Rows help sections.

If you could please help us understand how to perform this specific kind of row formatting, it would help us to be able to convert to the Telerik RadGridView from our previous 3rd party grid control.
Nadya | Tech Support Engineer
Telerik team
 answered on 05 Mar 2020
3 answers
206 views

Good Morning,

 

When generating a Crystal Theme Variation, there are several accent color palettes to choose from.

I accidentally overwrote the Blue one.   How can I restore the Blue Palette?

 

Thank you

 

Todor
Telerik team
 answered on 05 Mar 2020
6 answers
346 views
Hi,

Is it possible to databind a grid and exports it to excel from a ConsoleApplication project ?

I tried the LoadElementTree method, that doesn't work, I can't get my grid populated with data using the datasource member.
The only working method what the Grid.Rows.Add.

The other issue is that the  ExportVisualSettings can't be set to true or you'll get an exception.

Is there a clean way to get it to work ?

Thanks,
Deasun
Top achievements
Rank 3
Bronze
Bronze
Bronze
 answered on 05 Mar 2020
2 answers
128 views

If I have two pie charts next to each other how do I make their circumference the same size.

 

I have tried Chartview.View.Margin. Setting it to the same value does not make them the same size.

 

Nadya | Tech Support Engineer
Telerik team
 answered on 04 Mar 2020
3 answers
1.2K+ views

Hello

I have DateTimePicker with date in format dd-MM-yyyy. Initial date in this control is 01-02-2020. I want to write new date (31-01-2020) in MaskEdeditBox but after set day cursor correctly move to month section and day section changes walues to '01'. Could I define other behavior for this situations? For example when currently set month not has enough days month automatically decreases by 1.

 

Best wishes

Peter
Telerik team
 answered on 04 Mar 2020
2 answers
118 views

Hi,

I'm currently working with a chartview where the y-axis contains seconds. I',m trying to convert the seconds to minutes and/or hours, depending on rather the amount of seconds is more or equal one or more hour/s.

How can I achieve this behavior?

 

Thanks in advance!

Nicklas
Top achievements
Rank 1
Veteran
 answered on 03 Mar 2020
1 answer
191 views

Hi,

We are setting the ResourcesPerView property as 3 for the rad-scheduler on code behind.
rdSched.ActiveView.ResourcesPerView = 10

Screeshot link
If it is not set, it shows 2 columns. But in existing project, it displays all the columns as mentioned on the below screenshot.
Existing Screenshot link
Without setting the ResourcesPerView is it possible to display the columns as per the screenshot?

 

Peter
Telerik team
 answered on 02 Mar 2020
4 answers
536 views

I have a bar chart and I'm trying to get the name of the series when I click on the Label Element next to the bar.

However, I can't find any documentation on how to add a click event to the label element (in the image attached, I'm talking about the $10000 label).

I have a SelectedPointChanged event registered to my RadChartView control and that works great, but only works when the bar is clicked not the label next to it.

private void selectionController_SelectedPointChanged(object sender, ChartViewSelectedPointChangedEventArgs args)
{
 var series = args.NewSelectedSeries;
}

 

 

 

 

James
Top achievements
Rank 1
Veteran
 answered on 29 Feb 2020
1 answer
110 views

I'm using static BindingList as DataSource:

public class Items
{
    public static DateTime FechaTrabajo = DateTime.Today;
    public static MyBindingList<Pedidos> pedidos = new MyBindingList<Pedidos>();
    public static async Task Load(DateTime fechaTrabajo)
    {
        try
        {
            pedidos.Clear();
            FechaTrabajo = fechaTrabajo;
            pedidos.Add(await SSEService.Instance.GetPedidos(fechaTrabajo));
            pedidos.ListUpdated();
        }
        catch (Exception) { }
    }
}

 

Where MyBindingList extends BindingList and ListUpdated is like:

public void ListUpdated()
{
    this.OnListChanged(new ListChangedEventArgs(ListChangedType.Reset, 0));
}

 

I'm using Items.pedidos as datasource for the Grid and all is working perfect, grid is updating data when needed, but when I need selectedrows, if Items.pedidos has had data and now is empty. When I call:

private void bNuevoPalet_Click(object sender, EventArgs e)
{
    int rows = this.radGridView1.Rows.Count;
    int srows = this.radGridView1.SelectedRows.Count;
    if (this.radGridView1.SelectedRows.Count > 0)
    {
        Pedidos ped = this.radGridView1.SelectedRows[0].DataBoundItem as Pedidos;
        if (ped != null)
        {
            fPedido.ShowMe(ped);
        }
    }
}

 

rows = 0

but srows = 1

 

Nadya | Tech Support Engineer
Telerik team
 answered on 28 Feb 2020
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
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
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
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
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?