Hi,
I am using RadEditor in my web application.
Please suggest, how i can add text in editable and non editable area of RadEditor dynamically by coding in c#.
(For Example 3 to 4 lines of Address in non-editable part that come from database).
i want to save the editable text after text change and i don't want this in any button click.
i have to save all the contents in MS Word in user's system.
Aslo i want to hide all the tools of radeditor and implement copy & paste,
changing the text format on button click events that are outsite the editor.
Thanks
Vikram
<div class="left width350" id="divAdministrationModules" runat="server"> <div class="divborder maarginleft20 width350"> <asp:Panel ID="panelAdministrationModules" CssClass="" runat="server"> <div class="divSearchHeader width350"> <asp:Label ID="LabelAdministrationTitle" runat="server" Text="Administration Modules" CssClass="divSearchHeaderText" /> <div class="floatRight"> <asp:ImageButton ID="ImageButtonAdministration" runat="server" ImageUrl="~/images/collapsible.gif" AlternateText="(Show/Hide Details...)" /> </div> </div> </asp:Panel> <asp:Panel ID="panelAdministrationModulesContent" runat="server" CssClass="maarginleft20 width350" Style="overflow: hidden;"> <telerik:RadTreeView OnClientNodeChecked="AfterCheck" ID="treeViewAdministrationFunctionals" TriStateCheckBoxes="true" CheckBoxes="true" runat="server" autopostbackoncheck="false" Width="350px"> </telerik:RadTreeView> </asp:Panel> <ajaxToolkit:CollapsiblePanelExtender ID="AdministrationMenu" BehaviorID="cpbExtender2" runat="Server" TargetControlID="panelAdministrationModulesContent" ExpandControlID="panelAdministrationModules" CollapseControlID="panelAdministrationModules" Collapsed="false" ImageControlID="ImageButtonAdministration" ExpandedImage="~/images/Uncollapsible.png" CollapsedImage="~/images/collapsible.png" SuppressPostBack="true" /> </div> </div>
Hi Team,
We are using the telerik rad combo box (Version-2.7.2.0.) in our project.
We came across some issues with Rad combo box.
Follwing are the replication steps for the issue
On click of “Ok” button.We got one more error.:(ScrrenShot2)
Below are the details of telerik rad control and my application.
1) It is web application developed in asp.net1.1
2) It uses telerik rad combo box of version 2.7.2.0.
3) It uses load on demand property with Item Requested event.
We have done some analysis. Below are findings
1) The error pop up is coming from Rad combo box in built .JS file.
Can you please provide reason and solution for the following problem?
Reason for above error and solution.
Any service release of telerik control for this issue and whether it is compatible with asp.net1.1
Thanks & Regards,
Namrata
<telerik:RadGrid runat="server" ID="Grid" PageSize="20" Width="100%" EnableViewState="false" CssClass="basicList">
<MasterTableView AutoGenerateColumns="false" AllowPaging="true" AllowCustomPaging="true" AllowSorting="true" DataKeyNames="ID">
Grid.PageIndexChanged: Calls LoadData(true)
Grid.PageSizeChanged: Calls LoadData(true)
Grid.SortCommand: Calls LoadData(true)
Grid.ItemCommand: Calls LoadData(false) and Grid.Rebind()
Grid.ItemDataBound
Grid.NeedDataSource: Calls LoadData(false)
Page_Load: If not a postback, calls LoadData(false)
I can send this page code privately if needed.
Thank you.
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="RadToolbarWindowTest._Default" %> <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> <%@ Register TagPrefix="telerik" Namespace="Telerik.Charting" Assembly="Telerik.Web.UI" %> <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> <script type="text/javascript"> function OpenWindow(sID, sURL) { var oManager = GetRadWindowManager(); oManager.open(sURL, sID); return false; // var oWnd = radopen(sURL, sID); } </script> </asp:Content> <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <telerik:RadWindowManager EnableShadow="true" Behaviors="Close, Move" ID="m_oRadWindowManager" runat="server" Modal="true" Skin="Windows7"> <Windows> <telerik:RadWindow ID="m_oEditLocDialog" VisibleOnPageLoad="false" Title="Edit Location" VisibleStatusbar="false" NavigateUrl="Window.aspx" runat="server" Modal="true" Width="550" Height="500"> </telerik:RadWindow> </Windows> </telerik:RadWindowManager> <telerik:RadAjaxPanel runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> <telerik:RadButton ID="m_oEditBtn" Text="EditBtn" runat="server" OnClick="OpenWindow"> </telerik:RadButton> <telerik:RadToolBar ID="m_oOverviewToolbar" runat="server" Width="100%" EnableRoundedCorners="true" EnableShadows="true" OnButtonClick="OverviewToolBar_ButtonClick"> <Items> <telerik:RadToolBarButton runat="server" Text="EditTlbrBtn" CommandName="Edit"> </telerik:RadToolBarButton> </Items> </telerik:RadToolBar> </telerik:RadAjaxPanel> </asp:Content>
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Telerik.Web.UI; namespace RadToolbarWindowTest { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void OpenWindow(object sender, EventArgs e) { OpenWindow(this, m_oEditLocDialog, null); } protected void OverviewToolBar_ButtonClick(object sender, RadToolBarEventArgs e) { RadToolBarButton oBtn = e.Item as RadToolBarButton; if (oBtn.CommandName == "Edit") { OpenWindow(this, m_oEditLocDialog, null); } } public static void OpenWindow(Control oParentCtrl, RadWindow oWindow, string sURL) { RadScriptManager.RegisterStartupScript(oParentCtrl, oParentCtrl.GetType(), "openWnd", string.Format("OpenWindow('{0}', '{1}');", oWindow.ID, sURL), true); } } }
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Window.aspx.cs" Inherits="RadToolbarWindowTest.Window" %> <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> <%@ Register TagPrefix="telerik" Namespace="Telerik.Charting" Assembly="Telerik.Web.UI" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> </div> </form> </body> </html>
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace RadToolbarWindowTest { public partial class Window : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } } }