I want to add result of sql query to dropdownlist items
have tried this :
RadListDataItem dataItem = new RadListDataItem();
dataItem.Text = (read1["size"].ToString());
this.radDropDownList2.Items.Add(dataItem);

A simple example:
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
radPropertyGrid1.SelectedObject = new MyClass();
}
[TypeConverter(typeof(ExpandableObjectConverter))]
public class First
{
[DisplayName("Name"), Category("first")]
public string Name { get; set; }
[DisplayName("Color"), Category("first")]
public Color MyColor { get; set; }
public First()
{
Name = "Foo";
MyColor = Color.Aqua;
}
public override string ToString()
{
return string.Empty;
}
}
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Second
{
[DisplayName("SubName"), Category("Second")]
public string SubName { get; set; }
[DisplayName("SubColor"), Category("Second")]
public Color MySubColor { get; set; }
public Second()
{
SubName = "Any";
MySubColor = Color.Red;
}
public override string ToString()
{
return string.Empty;
}
}
public class MyClass
{
[DisplayName("First"), Category("Item0")]
public First Item0 { get; set; }
[DisplayName("Second"), Category("Item1")]
public Second Item1 { get; set; }
public MyClass()
{
Item0 = new First();
Item1 = new Second();
}
}
}
If I do a search, the RadPropertyGrid finds the name only in the second part of MyClass

I'm trying to make a custom list as the one in the image below using radListView, so far I was already able to create the custom item as i want it to be by creating a custom item that inherits from IconListViewVisualItem but I'm having trouble to access my custom item's properties, so I can hide and show controls as needed as well as the content on them.
Thanks in advance.
I'm trying to implement a grid showing fairly long processing jobs. Each job is represented by a row with columns showing info about the job. I'm trying to represent job progress visually somehow. Dedicating a column for a progress bar in each row would use too much space.
Is it possible to have a progress bar that would display under each row, showing progress for that row?
Or alternatively, a progress bar that would show behind the row?
Hi;
I found an error assigning the ContentImage. It's always null.
I have created two projects so you can see the case.
The proyect AlertOld contains the version 2018.1.116 and the proyect AlertNew contains the version 2018.1.220.
In the Proyect AlertOld works perfectly and in the other not work.
https://www.dropbox.com/s/qrre9bsdaz2z4iq/Alert.rar
Regards


Hello Developers.
I have a problem with the RadScheluder control, I tell you I had previously used a 2014 version or not remember, in that version there was the following event
Telerik. WinControls. UI. SchedulerContextMenuShowingEventArgsbut in the new version when compiling it sends me the following error message telling me that the type "Telerik. WinControls. UI.SchedulerContextMenuShowingEventArgs" is not defined.
The second mistake is when I want to do the following
Dim dayView As SchedulerWeekView = Me. RadScheduler1. GetWeekViewdayView. RangeFactor = dtParams (0) Item (4). ToString ()dayView. RulerTimeFormat = RulerTimeFormat. hours24
I tried searching, bad search-fu, no helpful tips.
In the radribbonbar control, is it possible to add a background image with a logo?
If you have three / four buttons, then all the space to the right is empty, which would be great to show of an logo.
I tried
RadRibbonBar = radMain.BackgroundImage , but that didn't work.
Or do I need to turn off Aero? or?

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click RadPanel2.Visible = Not RadPanel2.VisibleEnd Sub