I have add a couple of extra fields in a CustomEditAppointmentDialog.
When i select an appointment in the scheduler I want to put the information out of one of the extra
fields in a textbox on my form.
I can reach all the information in the standard fields from Appointment class. But i can't reach the
information of the extra fields created in the CustomAppointment class.
Can someone help me out how i can reach that information?
private void radScheduler1_AppointmentSelected(object sender, SchedulerAppointmentEventArgs e)
{
if (e.Appointment.Description != null)
{
labelCalendarCustomerNo.Text = e.Appointment.CustNo; //this does not work
labelCalendarCustomerName.Text = e.Appointment.Location; //this works
labelCalendarEnd.Text = e.Appointment.End.ToString(); //this works
labelCalendarStart.Text = e.Appointment.Start.ToString(); //this works
}
}
}
public class CustomAppointment : Appointment { public CustomAppointment() : base() { } private string custNo = String.Empty; public string CustNo { get { return this.custNo; } set { if (this.custNo != value) { this.custNo = value; } } }Hi,
Do you offer a control that is ideally TextBox -based that has AutoComplete functionality, much like "out-of-box" TextBox, but with additional support for "contains" logic, in addition to "starting with" logic?
For example, when typing in "p", both "Pear" and "Apple" would be suggested, as both contain "p".
Or optionally, it could be a ComboBox - based control, but allowing free-form entry by user without having to add entered value to Items collection.
Is my current understanding correct that you guys currently don't have this as TextBox-based, according to: http://www.telerik.com/community/forums/winforms/editors/intellisense-autocomplete-in-textbox-like-in-outlook.aspx ? And that your TextBox only shows one suggestion, even though there could be multiple options for autocomplete?
Thanks!


Random r = new Random (); GridServer.Rows.Add ("1"); for (int i= 1; i <= 16; i++){ DataTable table = new DataTable (); table.Columns.Add ("DateTime", typeof (DateTime)); table.Columns.Add ("Value", typeof (double)); table.Rows.Add (DateTime.Now, r.Next (100)); table.Rows.Add (DateTime.Now.AddSeconds (30), r.Next (100)); table.Rows.Add (DateTime.Now.AddSeconds (60), r.Next (100)); table.Rows.Add (DateTime.Now.AddSeconds (90), r.Next (100)); table.Rows.Add (DateTime.Now.AddSeconds (120), r.Next (100)); table.Rows.Add (DateTime.Now.AddSeconds (150), r.Next (100)); GridServer.Rows[0].Cells[i].Value = table; }GridServer.Rows[0].Cells[i].Value is objectpublic class GridViewCellInfo : IEquatable<GridViewCellInfo> { // Summary: // Gets or sets the value. public object Value { get; set; } //}GridServer.Rows[0].Cells[i].Value should get the reference of my DataTable, but the actually value of Value is a empty string.
private void BtnPrint(object sender, EventArgs e) { GridPrintStyle style = new GridPrintStyle(); style.FitWidthMode = PrintFitWidthMode.FitPageWidth; style.PrintHeaderOnEachPage = true; this.radGridView1.PrintStyle = style; this.radGridView1.PrintPreview(); }