Xylon
Junior Member
Offline
I Love MindFusion!
Posts: 96
Joined: Feb 17 th, 2014
|
New questions, about localization and value sorting
Mar 4th, 2014 at 5:32pm
|
Print Post
|
Hi there,
I got two problems that I tried to solve but couldn't.
1. In the calendar control, if I create new appointment by clicking the calendar, and let's say I modified the location textbox into a dropdownlist, which I could select 5 different types of appointments. Each appointment has its color(style.Brush.Color = Color.XXX). How can I apply this? So once I create a new appointment, the time bar color will be based on the appointment type.
2. If I read the schedule from database, let's say now in the database I have 11 appointments, the contacts name are from A1 to A6, B1 to B5, but in database the appointments are not sorted from A1 to A6, B1 to B5, maybe it's like A2, B3, A5, A3, B2, B1 etc. But I would like to display the schedule from A1 to A6, B1 to B5 on the calendar. Especially, if I create new contact on the page, let's say I create new contact A7, originally contact A7 will appear under B5, but I would like to sort it under A6, above B1.
Any idea about them?
Thanks in advance!
|