RadEditor Display (LI) / Using Telerik RadEditor With IE
Feb 16, 2010
I have an issue using Telerik RadEditor with IE (not Firefox, not Chrome and not Safari).
I think that i have a conflicting css style but i have no idea of wich one (tryed to delete most of the styles). I also tryed to add a ContentEditorArea.css.
How RadEditor displays in IE8 (not very different in IE7) :
http://www.skalae.fr/radeditor.jpg
View 2 Replies
Similar Messages:
Nov 8, 2010
In the Telerik.Web.UI.xml file I found this entry
<member name="P:Telerik.Web.UI.RadDataBoundControl.Skin">
<summary>Gets or sets the skin name for the control user interface.</summary>
<value>A string containing the skin name for the control user interface. The default is string.Empty.</value>
<remarks>
<para>
If this property is not set, the control will render using the skin named "Default".
If EnableEmbeddedSkins is set to false, the control will not render skin.
</para>
</remarks>
</member>
that says RadControls are using skin named Default..Now what if I want it to be not default ..what if I want it to be some CustomSkin to be rendered and not default skin?? Where do I need to set the value for the skin I wanna use? I don't know much of XML..so asking
Whats this xml file for anyway? Only describing stuff? What IS the purpose of this xml file??
[EDIT]
Tried setting Skin globally in webconfig.xml as mentioned in telerik's website as follows:-
<add key="Telerik.EnableEmbeddedSkins" value="true" />
<add key="Telerik.EnableEmbeddedBaseStylesheet" value="true" />
<add key="Telerik.RadEditor.Skin" value="CustomSkin" />
This is not making any diff! is using default file only.
View 2 Replies
Oct 29, 2010
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<link href="Skins/CustomSkin/Editor.Default.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<telerik:RadEditor ToolbarMode="Default"
ID="editor1" runat="server" EnableEmbeddedSkins="false" Skin="CustomSkin">
</telerik:RadEditor>
</asp:Content>
RADEditor on my page was inheriting Master Page's CSS properties so followed this tutorial to create custom skin..now what I did was...I simply copied the Folder named "Default" under Skins folder and renamed it to "CustomSkin" and added it like in the code above ..thot it would work but it didn't coz now I don't see border on my RADEditor...why is that ? Also it is STILL inheriting properties from Master page's CSS file :(
I didn't change name of any of the CSS files inside "CustomSkin" folder...Also when I added the following inside "telerik:RadEditor"...still problem persisting..
<CssFiles>
<telerik:EditorCssFile Value="~/Skins/CustomSkin/Editor.Default.css" />
<telerik:EditorCssFile Value="~/Skins/CustomSkin/Window.Default.css" />
<telerik:EditorCssFile Value="~/Skins/CustomSkin/ToolBar.Default.css" />
</CssFiles>
View 1 Replies
Nov 3, 2010
Its not executing statements in if block in my method
Master Page:-
page load event:-
Control c = new Control();
DoSomething(c);
My method:-
protected void DoSomething(Control control)(
{
foreach (Control c in control.Controls)
{
if(typeof(c).Equals(Telerik.Web.UI.RadEditor))
{
Telerik.Web.UI.RadEditor rad = c as Telerik.Web.UI.RadEditor;
label1.Visible = true; label1.Text = "dhchk";
rad.CssFiles.Add("~/styles/myStyle.css");
rad.CssFiles.Add("~/styles/myStyle2.css");
rad.CssFiles.Add("~/styles/myStyle3.css");
}
else
{
DoSomething(c);
}
}
}
my content page:-
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<telerik:RadEditor ID="Editor1" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins=false runat="server">
</telerik:RadEditor>
<telerik:RadEditor ID="Editor2" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins=false runat="server">
</telerik:RadEditor>
[EDIT] ok when debugging..I rt clicked "c" and then Quick watch...it says "The name 'c' does not exist in the current context" (?!?!) how so ?
View 4 Replies
Oct 28, 2010
<telerik:RadEditor ToolbarMode="Default"
ID="editor1" runat="server" EnableEmbeddedBaseStylesheet="true">
</telerik:RadEditor>
The editor's using Default skin..when I made changes to Editor.Default.CSS file...they didn't reflect on my page..but when I type the following I can see the changes:-
<link href="Skins/Default/Editor.Default.css" rel="stylesheet" type="text/css" />
<link href="Skins/Default/Window.Default.css" rel="stylesheet" type="text/css" />
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<telerik:RadEditor ToolbarMode="Default"
ID="editor1" Skin="Default" runat="server" EnableEmbeddedSkins="true">
</telerik:RadEditor>
Do I HAVE to create a custom Skin file for the changes to reflect ??I dont wanna coz the editor has been used in many files and now linking new custom CSS file in each and every aspx file will be such a pain.. I just want this to be added in the Skin:-
body
{
background-image:none;
background-color:White;
}
What this does is that it makes the background color of the content area white..earlier the content area of the Editor was inheriting background-image property of the Master Page's body tag...ohh and another funny issue is that the Font styles too are inheriting Master Page's properties only..like Heading 2 in the Editor's drop down list has got a background color when I want it to be simple..
So is making custom skin css file the only solution ..How do I get the changes to reflect thru the Default css file only ? I dont wanna create custom class..why didn't the changes reflect ?
View 2 Replies
Oct 29, 2010
In firebug under "Style" its showing the css file as follows when I hover mouse over RadEditor
"http://localhost/myWeb/WebResource.axd?d=WSPnt1ffDvgb4bj2Ii5nA4MecfZdsnZ0wvgLy3HVcihYTy2nMTq7iIu8RlAb7ZMF61e07jisMUNhQZabIxK2kyuxNpeCFqhE3cgnDSm1-Pc1&t=634237829795625000"
In telerik:RadEditor tag ..I haven't specified any property such as Skin=Skin1 or whatever..so its using some default skin...In the Skins folder..there's this folder named "Default" that's got images and css files...Is "Default" what it's using ??? now when I change something in the Default skin's CSS file...changes do not reflect on my page...so how do I find out which css its using ??can't figure out nothing from a path like that
[edit]
For this Editor mainly 3 css files are being used namely Editor.Default.css,Window.Default.css and ToolBar.Default.css..now when I view page source , I can't find refernce to any of these 3 css files...Also in firebug , under "Styles" where that weird css path is shown, its displaying CSS classes like .reToolbar , etc...now ALL the Skins' CSS files have got this CSS class ".reToolbar" ..so how to find out which CSS file's class is this particular ".reToolbar class" ??
View 1 Replies
May 21, 2010
The required functionality I am aiming for is to pull out RTF content from a database, edit it through a web interface (with a WYSIWYG editor) and then place the modified text back in to the database (in RTF format).
The control that I am using to do this is Telerik RadEditor (we have a license already for these controls). In the most recent version there appears to be functionality to load in RTF content from a string or a stream, but the only method I can see that is exposed for getting RTF back out is exportToRTF(); this method modified the headers and allows you to save a RTF version of the content you have just edited as a file.
The functionality to convert from HTML to RTF must exist somewhere within their library as you can export a RTF file, but I can not find any publicly exposed methods to pass this in to a stream or a string.
Does anybody know of a way that I can convert the HTML back to RTF using the Telerik libraries without saving out to a file?
View 1 Replies
Nov 3, 2010
foreach (Control control in ContentPlaceHolder1.Controls)
{
if(typeof(Control).Equals(Telerik.Web.UI.RadEditor))
{
label1.Visible = true; label1.Text = "dhchk";
// control.CssFiles.Add("~/styles/myStyle.css");
}
}
Error;-
'Telerik.Web.UI.RadEditor' is a 'type', which is not valid in the given context
Also, is this the correct way to add CSS class to radEditor controls ??
control.CssFiles.Add("~/styles/myStyle.css");
I actually wanna add 3-4 customized classes..how to do that?
also I was wondering if I can add some javascript or something in my Master page that will detect the ALL the radEditor controls and set their css classes ? don't know much of Javascript..how can that be made possible? how do I go about that? but first I want css classes to be set in code behind..what's wrong with the code?
[EDIT]
@Geek..I tried calling like this..is it correct?
Control c = new Control();
DoSomething(c);
now its giving this error in the method:-
The type or namespace name 'c' could not be found (are you missing a using directive or an assembly reference?)
[EDIT]
I do have this namespace added "using System.Web.UI.WebControls;" why this error ??
View 1 Replies
Feb 14, 2010
We are using Telerik RadEditor control in our project and having some problems with its integration with our user documents storage engine. We've implemented custom content provider for Telerik image manager and it shows correct documents in dialog. But in doesn't switch between images while selection. You can see this on this picture. We've tested this behaviour on the blank ASP.NET page without any additional CSS or JS. Rad editor tag could be found below. Please help! Why do this could happen?
<telerik:RadEditor ID="radEditor" runat="server"
ToolbarMode="ShowOnFocus"
ToolsWidth="402"
EditModes="Design"
ToolsFile="~/RadEditor.xml"
Skin="Default">
<ImageManager ViewPaths="IMAGES" EnableImageEditor="False" ContentProviderTypeName="FileStorageContentProvider, App_CODE" />
</telerik:RadEditor>
View 2 Replies
Jan 25, 2011
Currently I have to click the Spell check button on RadEditor's toolbar to see the word suggestions. Is there any way for that? I did find a way to run Spell Checker on Submit Button click but how do I get what I want? I have gone through forums but in vain. Need help please. Thanks
Telerik people have not replied. It's been three days now so asking here. Anybody who is familiar with Telerik controls please help me out.
edit:
Anybody in here who is familiar with Telerik controls.
View 1 Replies
Jul 7, 2010
When I use a RadEditor I want to enable the editor's spell check (working thus far). After a spell check the user can either click on the radmodule (toolbar thing) to either "finish spellcheck" or "cancel." Which is all fine and dandy except the "finish" button causes a postback!! I don't want that at this point!! "cancel" more or less does what I want to happen - I mostly just want a "done" or a way to stop the postback.
I've tried an Update panel but that just grays out the text area after it does the update.
View 2 Replies
Nov 2, 2010
I added this in the head section of my page as told in the article..added the following two additional lines to get rid of the background image(RADEditor on my page is inheriting master page's bg image)
[code]...
View 1 Replies
Jun 30, 2010
i have a radeditor in my webform and it posts back. if i type any thing in the editor and press enter key for new line and then use any control in the page which reloads the page, then the next line character in the editor gets replaced by $0 and other text remains same as earlier. it happens in SAFARI.
Ex.
aasdads
dsdsds
the above text replaced by: aasdads$0dsdsds$0
View 1 Replies
Jan 2, 2011
We need to visualize the number of forms submitted over a 2 week period where it is broken down by day/hour.
I have the query returning data such as:
My question is, how do I tell MS chart to display this data? When I bind it I get the following:
I'd like it to expand out and show the hours between the dates.
View 1 Replies
Mar 17, 2010
I have a page with a drop-down. Based on the selection in the drop-down, data gets loaded and populates a RadGrid. I am using a custom user control for the EditTemplate, so I can't use radGrid.DataBind(). Instead, I have to use radGrid.MasterTableView.Rebind() in association with a NeedDataSource event handler.
My problem is that when I load the page initially, I populate the drop-down and automatically select a value (first item in the list) which triggers the databinding on the RadGrid. I can step through the code in debug mode and see that the grid is being populated with data, but when the page displays, it doesn't get rendered. When I then manually choose an item from the drop-down, which triggers the same grid databinding code, it displays properly the second time.
How do I get it to display the grid the first time the page loads?
View 2 Replies
Jul 4, 2010
My purpose is to display selected days with different BackColor values, according to the selection of the client. Basically only changing the ItemStyle for the selected days are acceptable for me, but I couldn't find how to do it?So I tried a differen approach as follows: I created SpecialDays in my Calendar
<telerik:RadCalendar AutoPostBack="true" ID="calendar1" runat="server" Width="400px" Height="300px" FirstDayOfWeek="Monday">
<SpecialDays>
<telerik:RadCalendarDay TemplateID="temp1"></telerik:RadCalendarDay>
</SpecialDays>
<SpecialDays>
<telerik:RadCalendarDay TemplateID="temp2"></telerik:RadCalendarDay>
</SpecialDays>
<SpecialDays>
<telerik:RadCalendarDay TemplateID="temp3"></telerik:RadCalendarDay>
</SpecialDays>
<CalendarDayTemplates>
<telerik:DayTemplate ID="temp1" runat="server">
<asp:Label ID="lblTemp1" runat="server"></asp:Label>
</Content>
</telerik:DayTemplate>.......................................
View 1 Replies
May 24, 2010
I tried these solution in htis
http://blogs.telerik.com/atanaskorchev/posts/09-03-06/Meet_Telerik_Web_Design_dll.aspx but not work.
Hint: Win7, vs2008.
The installation type of Telerik is "ZIP" and not "exe".
View 1 Replies
Sep 19, 2010
I'm in the process of building a web cms platform. And I've come to a point where I have to choose what actually goes in the pages (I've been building the "core" for now). What do you think is the best option and could you give me your reasons for choosing that?
Currently I'm looking at jQuery UI, Telerik, and I'm also juggling with the idea of just building controls by myself, but I think that's too much of a hassle for little gain...
View 1 Replies
Jan 14, 2011
Is anyone able to offer any decent alternatives to the telerik ASP.Net controls.
I'm in the market for a decent grid control with all singing all dancing extensions... bt I'm finding the telerik grid really hard work to deal with.
The telerik controls do look good, but after a day of hard work with them I'm just looking to see if there are any other 3rd party offerings?
View 3 Replies
Feb 5, 2010
What's the simplest way to add a new row to a Telerik RadGrid in ASP.NET from code behind?
View 2 Replies
Dec 15, 2010
How can i pass asp.net mvc telerik grid data to controller using Ajax call.I need to save the telerik MVC grid data in database.
View 2 Replies
Apr 21, 2010
How's authorization supported in Telerik's MVC extensions? I am particularly interested in two cases:
tabs
grid row editing/deleting/inserting
View 1 Replies
Oct 7, 2010
Will there be any problems if I use DevExpress controls and Telerik controls on the same web page. Imagine I am nesting them insider one another.
I am wondering if they would conflict each other during AJAX calls.
View 1 Replies
Sep 7, 2010
how do i assign a postback url in my radpanel items in my master page
Eventually i have a MasterPage wherein i construct my radpanelbar.. and i have this Item Quiz with a child name Create
What i want to achieve is when i hit the button Create in my radpanelbar it will make a
PostBackUrl="CategoryCreate.aspx?Quiz=True"
how to do this and another question how do i manipulate the Create child in my RadPanelBar.. i have started this code shown below.. but i don't know what to do next to achieve my goal..
Protected Sub RadPanelBar1_ItemDataBound(ByVal sender As Object, ByVal e As RadPanelBarEventArgs)
Dim instance As RadPanelBar
instance.PostBackUrl = "CategoryCreate.aspx?Quiz=True"
'//// i don't know how to pass it to child in my radpanelbar
View 1 Replies
Oct 15, 2010
I'm trying to do a RadAjaxPanel ajaxRequest (invoked on the client) to call the server event-handler. I'm getting a 404. I do have a server-side AjaxRequest handler defined but it never gets call because of something with the request. What do I have to do to figure this out?
.NET 4.0, IIS 7.5, latest telerik.
View 1 Replies