if (!IsPostBack){ rtabstripTabs.DataFieldID = "tabID"; rtabstripTabs.DataFieldParentID = "parentTabId"; rtabstripTabs.DataTextField = "tabLabel"; rtabstripTabs.DataValueField = "filePath"; rtabstripTabs.DataSource = tabs; rtabstripTabs.DataBind();}<telerik:RadTabStrip ID="rtabstripTabs" runat="server" OnTabClick="rtabstripTabs_TabClick" MultiPageID="rmultipageUserContol" EnableEmbeddedSkins="False"></telerik:RadTabStrip><telerik:RadMultiPage ID="rmultipageUserContol" runat="server"> <telerik:RadPageView runat="server" ID="rpageviewUserControl"> </telerik:RadPageView></telerik:RadMultiPage>
<telerik:radgrid ID="RadGrid1" runat="server" AutoGenerateColumns="True" AllowSorting="True" ShowGroupPanel="True" GroupingEnabled="True" DataSourceID="SqlDataSource1" OnExcelMLWorkBookCreated="RadGrid1_ExcelMLWorkBookCreated" OnGroupsChanging="RadGrid1_OnGroupsChanging" AllowFilteringByColumn="true"> <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle> <ClientSettings ReorderColumnsOnClient="false" AllowDragToGroup="True" AllowColumnsReorder="false"> <Selecting AllowRowSelect="false"></Selecting> <Resizing AllowRowResize="False" AllowColumnResize="False" EnableRealTimeResize="True" ResizeGridOnColumnResize="False"></Resizing> </ClientSettings> <GroupingSettings ShowUnGroupButton="true"></GroupingSettings></telerik:radgrid>var grid = $find('ctl00_MainContent_RadGrid1');var master = $find('ctl00_MainContent_RadGrid1').get_masterTableView();master.filter("Type", 'SWITCHED', "EqualTo");master.filter("Resource", 'POWER', "EqualTo");
I have a RadAjaxLoadingPanel specified as follows in my master page:
<telerik:RadAjaxLoadingPanel id="RadAjaxLoadingPanel1" Runat="server" IsSticky="true" skin="Silk" InitialDelayTime="250" Style="position: absolute; top: 0; left: 0; height: 100%; width: 100%;"> </telerik:RadAjaxLoadingPanel>Hello! I’ve been using the RadAsyncUpload control and it’s been working great. Provided is an image of what my screen looks like. As you can see, I’m using RadAsyncUpload’s ruBrowse button to both upload the files clientside and then force a postback in order to upload the images to the database serverside (one button does all).
However, circled are other controls I’m using on my site. The problem is that when the client clicks “Upload Pictures,” and the files get uploaded clientside (as you can see with the green dots), it takes a little time to insert them into the database (serverside). Currently, without the implementation of a wait cursor, the client is able to click any of the other controls on the page:
- (RadTabStrip) Click the Entry Content tab which stops the uploading from happening.
- (Asp Buttons) Click Save/Cancel, which leaves the client in a bad state.
- (RadAsyncUpload) Click the “Upload Pictures” button again to upload more pictures.
I was wondering if there was any way to be able to disable other controls while the uploading is still happening?
<telerik:RadGrid ID="rgExternalSensors" HeaderStyle-BorderStyle="None" HeaderStyle-BackColor="WhiteSmoke" GridLines="None" DataSourceID="SqlDataSource10" AllowSorting="False" OnItemCreated="rgExternalSensors_ItemCreated" OnItemDataBound="rgExternalSensors_ItemDataBound" PageSize="5" AllowPaging="True" AutoGenerateColumns="False" runat="server" OnDeleteCommand="rgExternalSensors_DeleteCommand" OnInsertCommand="rgExternalSensors_InsertCommand" OnUpdateCommand="rgExternalSensors_UpdateCommand"> <PagerStyle Mode="NextPrevAndNumeric" PageSizeControlType="None"></PagerStyle> <MasterTableView Width="100%" EditMode="InPlace" CommandItemDisplay="Top" AutoGenerateColumns="false" InsertItemDisplay="Bottom" InsertItemPageIndexAction="ShowItemOnLastPage"> <Columns> <telerik:GridEditCommandColumn> </telerik:GridEditCommandColumn> <%-- <telerik:GridBoundColumn DataField="sensor_type_desc" UniqueName="SensorType" HeaderText="Type"> </telerik:GridBoundColumn>--%> <telerik:GridDropDownColumn DataField="sensor_type_desc" UniqueName="ddlSensorType" DataSourceID="SqlDataSource11" ListTextField="sensor_type_desc" ListValueField="sensor_type_serial_num" HeaderText="Type"> </telerik:GridDropDownColumn> <telerik:GridBoundColumn DataField="sensor_make_and_model" UniqueName="SensorMake" HeaderText="Make and Model" MaxLength="50"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="sensor_serial_num" UniqueName="SensorSerial" HeaderText="Serial Number" MaxLength="50"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="sensor_location" UniqueName="SensorLoc" HeaderText="Location" MaxLength="50"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="external_sensors_serial_num" UniqueName="SerialNum" HeaderText="SerialNum" Display="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="sensor_type_serial_num" UniqueName="TypeSerialNum" HeaderText="TypeSerialNum" Display="false"> </telerik:GridBoundColumn> <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="DeleteColumn"> </telerik:GridButtonColumn> </Columns> <CommandItemSettings AddNewRecordText="Add New" RefreshText="Refresh"></CommandItemSettings> </MasterTableView> <ClientSettings> <ClientEvents OnRowDblClick="RowDblClick"></ClientEvents> </ClientSettings></telerik:RadGrid>