|
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... |
|
} |