or
<telerik:RadNotification ID="ValidationNotification" runat="server" AutoCloseDelay="20000" EnableRoundedCorners="true" EnableShadow="true" KeepOnMouseOver="true" Position="Center" Title="Validation errors" TitleIcon="warning" ShowCloseButton="true" Width="350"> <NotificationMenu Visible="false" /> <ContentTemplate> <asp:ValidationSummary ID="ValidationSummary" runat="server" DisplayMode="BulletList" ShowMessageBox="false" ShowSummary="true" /> </ContentTemplate></telerik:RadNotification>/// <summary>/// Provides a ValidationSummary inside a Telerik Notification/// </summary>/// <example>/// Add the controls to the page/// <code><uc1:Validation runat="server" id="Validation" ValidationGroup="Activate" /></code>/// /// Attach the validation function to the button which fires the validation in OnInit/// <code>ActivateButton.OnClientClicked = Validation.ValidationJsFunction;</code>/// /// Any Server-Side validation function will need to show the notification/// <code>if (!valid) { Validation.ValidationNotificationControl.Show(); }</code>/// </example>public partial class Validation : System.Web.UI.UserControl{ public string ValidationGroup { get; set; } public RadNotification ValidationNotificationControl { get { return this.ValidationNotification; } } public string ValidationJsFunction { get { return string.Format("Show_{0}", ValidationNotification.ClientID); } } protected void Page_Load(object sender, EventArgs e) { } protected override void OnInit(EventArgs e) { ValidationSummary.ValidationGroup = ValidationGroup; ValidationNotification.OnClientShowing = string.Format("Check_{0}", ValidationSummary.ClientID); StringBuilder js = new StringBuilder(); // the Show function needs to be added to each button which causes validation js.AppendFormat(" function Show_{0}()", ValidationNotification.ClientID); js.Append(" {"); js.AppendFormat(" var notification = $find('{0}');", ValidationNotification.ClientID); js.Append(" setTimeout(function () { notification.show(); }, 0);"); js.Append(" }"); js.AppendFormat(" function Check_{0}(sender, args)", ValidationSummary.ClientID); js.Append(" {"); js.AppendFormat(" var summaryElem = document.getElementById('{0}');", ValidationSummary.ClientID); js.Append(" var noErrors = summaryElem.style.display == 'none';"); js.Append(" args.set_cancel(noErrors);"); js.Append(" }"); ScriptManager.RegisterClientScriptBlock(Page, this.GetType(), ValidationNotification.ClientID, js.ToString(), true); base.OnInit(e); }}<uc1:Validation runat="server" ID="Validation" ValidationGroup="Subscription" />GetQuoteButton.OnClientClicked = Validation.ValidationJsFunction;

<form id="form1" runat="server"> <div> <asp:ScriptManager ID="Sc1" runat="server"></asp:ScriptManager> <telerik:RadWindow ID="RadWindow1" Width="1000" Height="800" OnClientShow="OnClientShow" runat="server" VisibleOnPageLoad="true"> <ContentTemplate> <div id="editorWrapper" style="padding: 5px; display: none;"> RADEDITOR WITH JAVASCRIPT, See the HTML <telerik:RadEditor ID="RadEditor1" runat="server" height="200px"></telerik:RadEditor> </div> RADEDITOR WITHOUT JAVASCRIPT, See the HTML <telerik:RadEditor ID="RadEditor2" runat="server" height="200px"></telerik:RadEditor> <asp:button runat="server" ID="btn_save" Text="save" onclick="btn_save_Click"/> <asp:TextBox runat="server" ID="TextBox1" Width="150px"></asp:TextBox> <asp:TextBox runat="server" ID="TextBox2" Width="150px"></asp:TextBox> </ContentTemplate> </telerik:RadWindow> <script type="text/javascript"> function OnClientShow(sender, args) { // Fix the size problem in IE. var editorParent = $get('editorWrapper'); editorParent.style.display = ''; // Fixes the problem with the content area in FF and Safari var editor = $find('<%= RadWindow1.ContentContainer.FindControl("RadEditor1").ClientID %>'); editor.onParentNodeChanged(); var style = editor.get_contentArea().style; style.backgroundImage = "none"; style.backgroundColor = "white"; } </script> </div> </form>public partial class test : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { this.RadEditor1.Content="hello 1"; this.RadEditor2.Content="hello 2"; this.TextBox1.Text = ""; this.TextBox2.Text = ""; } protected void btn_save_Click(object sender, EventArgs e) { this.TextBox1.Text = this.RadEditor1.Content; this.TextBox2.Text = this.RadEditor2.Content; } }
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e){ if (e.Item is GridEditFormItem && e.Item.IsInEditMode) { //Clear and reset all outstanding edit form e.Item.OwnerTableView.IsItemInserted = false; e.Item.OwnerTableView.ClearEditItems(); e.Item.OwnerTableView.ClearChildEditItems();<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" OnNeedDataSource="RadGrid1_NeedDataSource" OnDetailTableDataBind="RadGrid1_DetailTableDataBind" OnInsertCommand="RadGrid1_InsertCommand" OnUpdateCommand="RadGrid1_UpdateCommand" OnDeleteCommand="RadGrid1_DeleteCommand" OnEditCommand="RadGrid1_EditCommand" OnItemCreated="RadGrid1_ItemCreated" OnItemDataBound="RadGrid1_ItemDataBound" OnItemCommand="RadGrid1_ItemCommand" OnPreRender="RadGrid1_OnPreRender" >