protected
void
RadAjaxManager1_AjaxRequest(
object
sender, AjaxRequestEventArgs e)
{
//TODO: This needs extensive work still.
Logger.InfoFormat(
"Received an ajax request. Arguments are: {0}"
, e.Argument);
string
[] arguments = e.Argument.Split(
','
);
if
(arguments[0] ==
"Update Local Settings"
)
{
string
dockID = arguments[1];
Logger.InfoFormat(
"Dock ID: {0}"
, dockID);
CormantRadDock dock = Utilities.FindControlRecursive(Page, dockID)
as
CormantRadDock;
DefaultAjaxManager.AjaxSettings.AddAjaxSetting(tmrRefreshTaskTitle, spnMyCommitteeTask);
when writing this line my solution is compiled but cannot run - the page doesnt being drown.
if i remove this line, but give the radajaxmanager stay on page design, there is no error.
Does anybody know what is my problem?
thanks,
gila
I'm trying to find a way to change the background colour of a row/cell.
Currently, our asset booking system looks like late-current.gif - whereas the red highlighted booking indicates that that resource it is overdue and hasn't been returned. What is required is for the whole row of the timeline to turn red if the asset is overdue, as indicated in late-required.gif.
The appointments change colour using the following code:
protected
void
RadScheduler1_AppointmentDataBound(
object
sender, SchedulerEventArgs e)
{
DateTime now = DateTime.Now;
if
(e.Appointment.Resources.GetResource(
"Status"
, 1) !=
null
)
e.Appointment.CssClass =
"rsCategoryOrange"
;