or
<fieldset> <legend>Refresh Settings</legend> <table> <tr> <td class="AutoRefreshEnabled"> Auto-Refresh Enabled:</td> <td class="AutoRefreshCheckbox"> <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" oncheckedchanged="CheckBox1_CheckedChanged" /> </td> <td class="AutoRefreshNumericTextbox"> <telerik:RadNumericTextBox ID="RadNumericTextBox1" Runat="server" Label="Auto-Refresh Interval:" MaxValue="60" MinValue="0" ShowSpinButtons="True" Value="0" Width="175px" Enabled="False" LabelCssClass="riLabel LabelDisabled"> <NumberFormat DecimalDigits="0" /> </telerik:RadNumericTextBox> </td> </tr> </table></fieldset>protected void CheckBox1_CheckedChanged(object sender, EventArgs e){ RadNumericTextBox1.Enabled = (sender as CheckBox).Checked; if (RadNumericTextBox1.Enabled) { RadNumericTextBox1.LabelCssClass = "LabelEnabled"; } else { RadNumericTextBox1.LabelCssClass = "LabelDisabled"; }}.LabelEnabled{ color: Black !important;}.LabelDisabled{ color: Gray !important;}<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="CheckBox1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadNumericTextBox1" /> </UpdatedControls> </telerik:AjaxSetting></telerik:RadAjaxManager><telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"><br> <AjaxSettings><br> <telerik:AjaxSetting AjaxControlID="btnSearch1"><br> <UpdatedControls><br> <telerik:AjaxUpdatedControl ControlID="upScriptDetail" LoadingPanelID="RadAjaxLoadingPanel1" /><br> </UpdatedControls><br> </telerik:AjaxSetting><br> <telerik:AjaxSetting AjaxControlID="btnSearch"><br> <UpdatedControls><br> <telerik:AjaxUpdatedControl ControlID="upScriptDetail" LoadingPanelID="RadAjaxLoadingPanel1" /><br> </UpdatedControls><br> </telerik:AjaxSetting><br> </AjaxSettings><br></telerik:RadAjaxManager> if (result.Count > 0)<br> {<br> //expand the search results...<br> this.CollapsiblePanelExtender1.Collapsed = false;<br> this.CollapsiblePanelExtender1.ClientState = "false";<br> //collapse the details...<br> this.CollapsiblePanelExtender2.Collapsed = true;<br> this.CollapsiblePanelExtender2.ClientState = "true";<br><br> bindSearchResults(result);<br> radgridSearchResults.DataBind();<br> }<br><br> private void bindSearchResults(List<CreativeSearchDataService.ScriptSearchResult> searchResults)<br> {<br> radgridSearchResults.SelectedIndexes.Clear(); //reset just in case this is a new search...<br> radgridSearchResults.DataSource = searchResults;<br> radgridSearchResults.MasterTableView.DataKeyNames = new string[] { "id" };<br> }<telerik:RadSplitter ID="rsT_H" runat="server" Width="100%" Height="100%" Orientation="Vertical" ResizeWithParentPane="False" ResizeWithBrowserWindow="True" BorderSize="0" VisibleDuringInit="False" HeightOffset="0" > <telerik:radpane runat="server" id="lPane" Scrolling="None" Width="364px" Height="100%" CssClass="BorderedContainer2" <telerik:RadAjaxLoadingPanel id="lpC_H" Runat="server" Transparency="30" Height="100%" Width="100%" BackColor="#E4E4E4"><asp:Image id="Image1" runat="server" AlternateText="Loading..." BorderWidth="0px" ImageUrl="~/global/images/loading2.gif" style="margin-top:50px;"></asp:Image></telerik:RadAjaxLoadingPanel> <asp:Panel ID="pnlC_H" runat="server" Height="100%" > <asp:PlaceHolder ID="phContent_H" runat="server"></asp:PlaceHolder> </asp:Panel> </telerik:radpane> <telerik:radpane runat="server" id="rPane" Scrolling="None" Width="100%" Height="100%" BackColor="Pink"> <div style="height:100%; vertical-align:middle; text-align:center; padding:10px;"><span class="Normal">Select the custom content item which will be included in this email using the list above. You can also create a new custom content item, or edit the currently selected item.<br /><br /><strong>Please Note:</strong> The content space to the left represents the actual width of the custom content block in this email template. To see what it will look like within the body of the email, click on "Preview HTML Version" above.</span></div> </telerik:radpane> </telerik:RadSplitter>