or
| <telerik:RadAjaxManager ID="ramDashboard" runat="server"> | |
| <AjaxSettings> | |
| </AjaxSettings> | |
| </telerik:RadAjaxManager> | |
| <telerik:RadAjaxLoadingPanel ID="alpDashboard" Transparency="5" runat="server" Height="75px" | |
| Width="75px"> | |
| <asp:Image ID="Image1" runat="server" AlternateText="Loading..." ImageUrl="~/RadControls/Ajax/Skins/Default/Loading.gif" /> | |
| </telerik:RadAjaxLoadingPanel> | |
| <telerik:RadAjaxLoadingPanel ID="alpDashboardSmall" Transparency="5" runat="server" Height="75px" | |
| Width="75px"> | |
| <asp:Image ID="Image3" runat="server" AlternateText="Loading..." ImageUrl="~/RadControls/Ajax/Skins/Default/Loading7.gif" /> | |
| </telerik:RadAjaxLoadingPanel> |
| public void setupAjaxManager() | |
| { | |
| Control widgetStations = FindControlRecursive(rdzMain, "widgetStations"); | |
| Control rdzStations = FindControlRecursive(widgetStations, "rdzStations"); | |
| Control widgetAutoMode = rdzStations.FindControl("widgetAutoMode"); | |
| Control widgetUserMode = rdzStations.FindControl("widgetUserMode"); | |
| Control widgetOffMode = rdzStations.FindControl("widgetOffMode"); | |
| Control widgetFlow = FindControlRecursive(rdzMain, "widgetFlow"); | |
| Control widgetSetup = FindControlRecursive(rdzMain, "widgetSetup"); | |
| Control widgetDayTime = FindControlRecursive(rdzMain, "widgetDayTime"); | |
| Control widgetCustomPlants = FindControlRecursive(rdzMain, "widgetCustomPlants"); | |
| Control widgetAdvBtn = rdzStations.FindControl("btn_stns_settings_adv"); | |
| Control widgetBasicBtn = rdzStations.FindControl("btn_stns_settings_basic"); | |
| //Edit Controller Top Button | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_top_icon, widgetAutoMode); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_top_icon, widgetUserMode); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_top_icon, widgetOffMode); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_top_icon, widgetSetup); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_top_icon, widgetDayTime); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_top_icon, widgetFlow); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_top_icon, widgetCustomPlants); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_top_icon, pnlTopControl, alpDashboardSmall); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_top_icon, pnlBottomControl, alpDashboardSmall); | |
| //Edit Controller Bottom Button | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_icon, widgetAutoMode); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_icon, widgetUserMode); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_icon, widgetOffMode); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_icon, widgetSetup); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_icon, widgetDayTime); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_icon, widgetFlow); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_icon, widgetCustomPlants); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_icon, pnlTopControl, alpDashboardSmall); | |
| ramDashboard.AjaxSettings.AddAjaxSetting(btn_edit_controller_icon, pnlBottomControl, alpDashboardSmall); | |
| //...AND SO ON... | |
| } |
| Protected Sub RadGrid1_PreRender(ByVal sender As Object, ByVal e As EventArgs) |
| If Not Page.IsPostBack Then |
| For Each item As GridDataItem in RadGrid1.MasterTableView.Items |
| Dim task_id As String = (TryCast(item.FindControl("lbl_task_id"), Label)).Text |
| If task_id = "" Then |
| Dim cell As TableCell = item.Item("ExpandColumn") |
| Dim expandCollapseButton As ImageButton = CType(cell.Controls(0), ImageButton) |
| expandCollapseButton.Visible = False |
| End If |
| Next |
| End If |
| End Sub |


| uxRadChart_StockPrices.PlotArea.YAxis.MaxValue = stockPrices.Max(p => p.Price) + 2.0; |
| uxRadChart_StockPrices.PlotArea.YAxis.MinValue = stockPrices.Min(p => p.Price) - 2.0; |
| uxRadChart_StockPrices.PlotArea.YAxis.Step = (this.uxRadChart_StockPrices.PlotArea.YAxis.MaxValue - this.uxRadChart_StockPrices.PlotArea.YAxis.MinValue) / 10.0; |
| protected void RG1_ItemCreated(object sender, GridItemEventArgs e) |
| { |
| if (e.Item is GridEditableItem && e.Item.IsInEditMode) |
| { |
| GridEditableItem item = e.Item as GridEditableItem; |
| RadEditor theEditor = item["mainContent"].Controls[0] as RadEditor; |
| theEditor.ImageManager.ViewPaths[0] = "~/SIsites/ClientFiles/ClientUploads/Images/"; |
| theEditor.ImageManager.UploadPaths[0] = "~/SIsites/ClientFiles/ClientUploads/Images/"; |
| theEditor.ImageManager.DeletePaths[0] = "~/SIsites/ClientFiles/ClientUploads/Images/"; |
| } |
| } |
| <telerik:GridTemplateColumn DataField="mainContent" HeaderText="Main Content" SortExpression="mainContent" |
| UniqueName="mainContent" Display="false"> |
| <EditItemTemplate> |
| <telerik:RadEditor ID="RE1" runat="server" Content='<%# Bind("mainContent") %>' ToolsFile="~/SIadmin/editors/ToolsFile.xml" |
| Height="200px" Width="600px" Skin="Telerik"> |
| </telerik:RadEditor> |
| </EditItemTemplate> |
| </telerik:GridTemplateColumn> |
.RadComboBoxDropDown_Vista .rcbDisabled
{
color:#000;
cursor:no-drop;
}
.RadComboBox_Vista .rcbDisabled
{
}
Then I change EnableEmbeddedSkin to false and register the link in one of stylesheet under head section. But it still does not work.
Any advice to make text to be black on disable. In addition are there any place I can learn for each style in the css file provided for each control. I have browse through the documentation without avail.