Hello,
Does anyone knows how to get the resources between the specified start and end time instead of getting all the resources from resource collection? I'm trying to get the resources durring scheduler FormCreatingEvent and then hide the available resources so user cannot reserve the same resource again between that time.
Please help any suggestion or comments would be appereciated.
Thank you.
-Sal

FooterAggregateFormatString
| <telerik:RadAjaxManager ID="RadMgr" runat="server" OnAjaxRequest="RadMgr_AjaxRequest"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadMgr"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="Panelcontrolholder" LoadingPanelID="LoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| script type="text/javascript"> |
| // Show Loading Panel in the first application initialization phase |
| window.onload = function() |
| { |
| setTimeout( function() |
| { |
| window[ "<%= RadMgr.ClientID %>"].AjaxRequest("InitialPageLoad"); |
| }, 200); |
| } |
| protected void RadMgr_AjaxRequest(object sender,AjaxRequestEventArgs e) |
| { |
| if (e.Argument == "InitialPageLoad") |
| { |
| //simulate longer page load |
| //System.Threading.Thread.Sleep(2000); |
| MainPanel.Visible = true; |
| } |
| } |
Imports
Telerik.Web.UI
....
Private Sub GridUnits_CreateColumnEditor(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridCreateColumnEditorEventArgs) Handles GridUnits.CreateColumnEditor
If IsNumeric(Right(e.Column.UniqueName, 3)) Then
Dim tbwidth As Integer
tbwidth =
CType(Right(e.Column.UniqueName, 3), Integer)
Dim tbGeneric = DirectCast(e.ColumnEditor, GridTextBoxColumnEditor)
tbGeneric.TextBoxControl.Width = Unit.Pixel(tbwidth)
End If
End Sub
<telerik:GridBoundColumn DataField="TabNo" DataType="System.Int32" HeaderText="TabNo"
SortExpression="TabNo" UniqueName="TabNo" Visible="False">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Icon_url" HeaderText="Icon_url" SortExpression="Icon_url"
UniqueName="Icon_url300" Visible="False">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="bgImage_url" HeaderText="bgImage_url" SortExpression="bgImage_url"
UniqueName="bgImage_url200" Visible="False">
</telerik:GridBoundColumn>