or
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