I'm having a problem getting the mappings to work out. The dates and text items (subject, description, etc) seem to work fine, however id fields do not, nor do any of the boolean values (visible, all_day, etc.) I know the field names are correct. Oracle does not have a boolean field type, so I can return a number or a string. Any ideas?
A condensed version of the code is:
daTemp.Fill(dtAppts)
Dim appointmentMappingInfo As New Telerik.WinControls.UI.AppointmentMappingInfo()
appointmentMappingInfo.Start = "APPT_START" ' One of the mappings
appointmentMappingInfo.BackgroundId = "BACKGROUND_ID" ' One of the mappings
SchedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo
SchedulerBindingDataSource1.EventProvider.DataSource = dtAppts
RadScheduler1.DataSource = SchedulerBindingDataSource1
Later
Art
private void LoadLocumDiary() { foreach (Availability AvailabilityL in DbContext.Availabilities.Where(avail=> avail.LocumID == LocumID).OrderBy(date=>date.AvailableDate)) { RadCalendarDay sday = null; switch (AvailabilityL.AvailabilityStatusID) { case 1: //Available sday = new RadCalendarDay(AvailabilityL.AvailableDate) { Disabled = false, Selectable = true, ToolTip = AvailabilityL.AvailabilityStatus.Name }; sday.TemplateItem.BackColor = Color.Green; break; case 2: //Unavailable sday = new RadCalendarDay(AvailabilityL.AvailableDate) { Disabled = false, Selectable = true, ToolTip = AvailabilityL.AvailabilityStatus.Name }; sday.TemplateItem.BackColor = Color.Red; break; case 3: //On Job sday = new RadCalendarDay(AvailabilityL.AvailableDate) { Disabled = false, Selectable = true, ToolTip = AvailabilityL.AvailabilityStatus.Name }; sday.TemplateItem.BackColor = Color.Goldenrod; break; default: break; } CalendarDiary.SpecialDays.Add(sday); } // CalendarDiary.InvalidateCalendar();}
Hi
I have radControls for winforms 2010 Q3
I tried "Custom Filtering" codes in demo and it works fine
But I want to search the child templates (child grids) too.
How can I do that?
thanks
In the gridview the default the cell formats should look like 0000.00
when the user tries to edit the cell
for Example : when the user wants to type 100 ,
on typing first digit (ie) 1 - cell should show it has 0000.01
on typing the next digit (ie) 0 - it should show as 0000.10
on typing the last digit (ie) 0 - it should show as 0001.00
that is , each char has to append one after the another in the above format