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
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
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.
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
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!
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?
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;
}
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