or
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldAlias
=
" "
FieldName
=
"OFIdate"
FormatString
=
"{0:D}"
HeaderValueSeparator
=
""
></
telerik:GridGroupByField
>
</
SelectFields
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"OFIdate"
SortOrder
=
"Ascending"
></
telerik:GridGroupByField
>
</
GroupByFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
<
script
type
=
"text/javascript"
>
// Dynamic positioning override - not guaranteed to work in future versions!
$telerik.$.popupDialog.prototype._positionForm = function () {
// This will be called each time the form needs to be repositioned
var $ = $telerik.$;
$(this._targetElement).css({ top: "150px", left: "200px" });
}
function OnClientAppointmentContextMenu(sender, args) {
sender.get_appointmentContextMenus()[0].set_enabled(false);
}
</
script
>
protected
void
RadScheduler1_TimeSlotCreated(
object
sender, Telerik.Web.UI.TimeSlotCreatedEventArgs e)
{
//if (!SecurityHandler.CanWrite(SafeValue.SafeInt(Session["UserID"].ToString()), "Scheduler Admin"))
e.TimeSlot.CssClass =
"Disabled"
;
}