
ResultGridView.Columns["Time"].HeaderText = "Time"; ResultGridView.Columns["Time"].DataTypeConverter = new DateToTimeConverter();...private void ResultGridView_EditorRequired(object sender, EditorRequiredEventArgs e) { if (ResultGridView.CurrentColumn.Name == "Time") { e.Editor = new GridTimePickerEditor(); } }...public class DateToTimeConverter : TypeConverter { public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { return destinationType == typeof(DateTime); } public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { TimeSpan span = (TimeSpan)value; DateTime dt = new DateTime(span.Ticks); return dt; } public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { return sourceType == typeof(DateTime); } public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { DateTime dt = (DateTime)value; TimeSpan span = new TimeSpan(dt.Hour, dt.Minute, dt.Second); return span; } }
Can you bind a column to a specific index in a List, without using a hierarchical grid?
For example, with the following data structure:
public class Survey { public string Name { get; set; } public List<string> Answers { get; set; } public Survey() { Answers = new List<string>(); }}The grid is bound to a data source of List<Survey>.
I can obviously create a column with a FieldName of: "Name".
Can I create a column with a FieldName of: "Answers[0]"?
I looked at the documentation article Binding to Sub Objects, and I didn't notice any restrictions on this.
Thanks,
Eric.

Hi Dear
I have Radribbonbar with 3 tab and every tab have multiple group and every group
have multiple radbuttonelement.
i want to control them dynamically i add to db permissions and read them for example like this:
menu1 true
menu2 false
how can i read and apply hide or visible in radribbon bar?
Hi,
I would like to be able to customize the printing of a hierarchical GridView.
1) The only selected rows are to be included
2) Only two columns are required in the output
What is the best way to achieve this?
Hi,
I window form, Grid contains the 4 columns. when I entered data in any columns and bymistake I clicked on Grid header, it does remove the data which I entered in the columns.so How can i prevent the remove data even clicked on Grid header..
Regards,
Dilip

I have added Text to the carousel image and set the Text to be displayed as textaboveimage - and tried a number of the other options as well - and I cannot see any of the text....
It's not long text either - often just one word.
What am I doing wrong to cause the text not to appear above the image.
I should also mention that the images are 128 x 128... so it's possible that the text is 'under the image' - how do I cause the text to be shown above the image?
I also tried to set the Text Position Offset Height to 140 to see if that would work but still - no visible text.
Can anyone help with this?

Hi all,
titel says it all.
Regards

Hi.
I need help, to translate a working C# kode til vb. It's the code highlightet with yellow, that gives me some (all the) troubles:
private void ReadAppointmentsFromDatabase()
{
uiRadSchedulerMain.Appointments.Clear();
var appointments = new ELHedegaard.BLL.Appointment();
foreach (var appointment in appointments.GetAppointmentsWithResources())
{
Appointment schedulerAppointment = new Appointment();
schedulerAppointment.Summary = appointment.Summary;
schedulerAppointment.Start = appointment.Start.Value;
schedulerAppointment.End = appointment.End.Value;
schedulerAppointment.Location = appointment.Location;
schedulerAppointment.Description = appointment.Description;
//schedulerAppointment.BackgroundId = 1;
schedulerAppointment.StatusId = 2;
schedulerAppointment.BackgroundId = appointment.ParentID.Value;
foreach (var x in appointment.ResourceIds.Select(a => new EventId(a)))
{
schedulerAppointment.ResourceIds.Add(x);
System.Diagnostics.Debugger.Break();
}
uiRadSchedulerMain.Appointments.Add(schedulerAppointment);
//System.Diagnostics.Debugger.Break();
}
}
Kindly Peer​
