<
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"
;
}
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.module1
{
background-color: #dff3ff;
border: 1px solid #c6e1f2;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="Panel1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<br /><br />
<fieldset class="module1">
<asp:Panel ID="Panel1" runat="server" HorizontalAlign="Center" Height="275px">
<asp:Button ID="Button1" runat="server" Text="Click to see the loading image" OnClick="Button1_Click"
Style="margin-top: 15px; margin-left: 15px" CssClass="qsfButtonBigger" />
</asp:Panel>
</fieldset>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" EnableSkinTransparency="true" BackgroundPosition="BottomRight">
<img src="images/loading6.gif" />
</telerik:RadAjaxLoadingPanel>
</asp:Content>