I am trying to use the sechuler to provide just reminders I dont no if i need the full blown component though as i just seen the reminder dialog component however the code is doing something weird but
01.
private
void
Form1_Load(
object
sender, EventArgs e)
02.
{
03.
setupReminders();
04.
ApertureNetIcon.BalloonTipText =
"Aperture Net Notfications."
;
05.
ApertureNetIcon.BalloonTipTitle =
"ApertureNet"
;
06.
this
.WindowState = FormWindowState.Minimized;
07.
}
08.
09.
private
void
Form1_Resize(
object
sender, EventArgs e)
10.
{
11.
if
(WindowState == FormWindowState.Minimized)
12.
{
13.
ShowInTaskbar =
false
;
14.
ApertureNetIcon.Visible =
true
;
15.
ApertureNetIcon.ShowBalloonTip(1000);
16.
}
17.
}
18.
19.
private
void
setupReminders()
20.
{
21.
SchedulerBindingDataSource dataSource =
new
SchedulerBindingDataSource();
22.
AppointmentMappingInfo appointmentMappingInfo1 =
new
AppointmentMappingInfo();
23.
dataSource.EventProvider.DataSource = _dal.GetAllAppointments();
24.
25.
appointmentMappingInfo1.Description =
"Subject"
;
26.
27.
appointmentMappingInfo1.End =
"End"
;
28.
appointmentMappingInfo1.Start =
"Start"
;
29.
appointmentMappingInfo1.Reminder =
"Reminder"
;
30.
appointmentMappingInfo1.ResourceId =
"ResourceID"
;
31.
dataSource.EventProvider.Mapping = appointmentMappingInfo1;
32.
this
.radScheduler1.DataSource = dataSource;
33.
}
This is the get all appointments
01.
/// <summary>
02.
/// Gets all apointments.
03.
/// </summary>
04.
/// <returns></returns>
05.
public
IQueryable<Appointment> getAllApointments()
06.
{
07.
try
08.
{
09.
var _appointments = apertureNetEntities.Appointments.Where(f => f.isDeleted ==
false
).OrderByDescending(o => o.TimeCode).ToList();
10.
return
_appointments.AsQueryable();
11.
}
12.
catch
(Exception ex)
13.
14.
{
15.
string
inner =
string
.Empty;
16.
if
(ex.InnerException !=
null
)
17.
{
18.
inner = ex.InnerException.ToString();
19.
}
20.
logger.Error(
"Error in IQueryable function getAllApointments "
+ ex.ToString() +
" "
+ inner);
21.
return
null
;
22.
}
23.
}
And if you look in my sql data and my app screen shot its not matching up to whats in the db so it is not i dont understand as displays fine in the web version ?.
Hello,
I would like to know if there is a way to add an email feature to resources. For example, when a resource (staff) gets added to a project, is there a way to send that person an email notification that he/she has been included in a project?
Also, is there a way to add staff to the resources table directly from the graphical interface?
Thank you in advance for your time.
Luis
I test the Example, Gridview , Spreadsheet.
I miss some Excel like behaviors:
Shortcut to delete the cell content. The Del Key delete a whole row, but in Excel it clear a cell.
I see, there exists a context menu Clear Value. Can I assigne the Del Key to this action?
Can I fill down a value from a cell to the selected cells below? The Excel shortcut is Ctrl+<
Also not work: Copy one cell content to clipboard. Select many cells, paste the value to all cells in the selection.
Or enter a value to all selected cells?
In Excel select many Cells, Enter text, press Ctrl+Enter to aply for all Cells.
Hi,
I tried to set FontSize of a RadSplitButton in the designer, or set it in the code like: this.radSplitButton1.Font = new System.Drawing.Font(...).
But nothing changed.
Finally I found the way which works:
this.radSplitButton1.DropDownButtonElement.ActionButton.Font = new System.Drawing.Font(...).
It's so complex just to change a Font.