C# - Customizing Telerik RadEditor Skin

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


Similar Messages:

C# - Telerik Radeditor / How To Set The Value For The Skin

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

C# - How To Find Out Which Skin Telerik's Radeditor Is Using By Default

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

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

Telerik Radeditor CSS / How To Get The Changes To Reflect Through The Default File Only

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

Telerik RadEditor Memorystream/string Save To RTF

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

C# - Trying To Access Telerik RadEditor Controls In Master Page's Code Behind As Follows... Giving Error

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

Telerik RadEditor Image Manager / Integration With User Documents Storage Engine?

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

C# - How To Get Telerik's RadEditor's Spell Checker To Start Automatically When Incorrect Word Is Typed

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

C# - Accessing RadEditor Control From Master Page's Code Behind / Its Not Finding Any RadEditor Control

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

Stop Postback For RadEditor With Spellcheck?

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

C# - RADEditor's Elements' CSS Properties Not Getting Overridden?

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

Radeditor With Safari / Editor Gets Replaced First Character By $0

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

Html - Customizing Webforms Markup?

Sep 11, 2010

I'm a new comer to the asp.net world. I hear a lot about asp.net mvc and it's advantage over webforms about the ability to customize the markup and css. I also heard that asp.net is much easier to learn than asp.net mvc so I decided to go for asp.net and webforms. My question is: what's the level of customization a web developer/designer can get with webforms concerning the markup and css?

View 4 Replies

Security :: Customizing Forms Authentication?

Mar 20, 2011

how to customize forms authentication ?What is the use of this customizing ?

View 2 Replies

Security :: Customizing The CreateUserWizard Control

Feb 2, 2011

I am trying to customize the CreateUserWizard control....I added a couple of text boxes with First name, last name in the create userwizard....But the problem is i cannot access the textbox from the code behind....The text boxes which i included in the code are marked in Bold Here is the code for the CreateUserwizard Control

<asp:CreateUserWizard ID="CreateUserWizard1" runat="server" OnCancelButtonClick="CreateUserWizard1_CancelButtonClick"
OnCreatingUser="CreateUserWizard1_CreatingUser" OnActiveStepChanged="CreateUserWizard1_ActiveStepChanged"
CancelDestinationPageUrl="~/Default.aspx" DisplayCancelButton="True" ContinueDestinationPageUrl="~/Default.aspx"
Width="320px" LoginCreatedUser="False" Height="295px" InvalidEmailErrorMessage="Please enter a valid email address.">
<StepNextButtonStyle CssClass="Button" />
<ContinueButtonStyle CssClass="Button" />
<CreateUserButtonStyle CssClass="Button" />
<StartNextButtonStyle CssClass="Button" />
<StepStyle CssClass="WpcClinicalText_Enabled" />
<CancelButtonStyle CssClass="Button" />
<StepPreviousButtonStyle CssClass="Button" />
<WizardSteps>...........................................

View 2 Replies

Security :: Customizing PasswordRecovery Templates?

May 3, 2010

I'm customizing the look and feel of the PasswordRecovery control. The problem is this. I've already set the "Search" button on my site as the default button. I've noticed that all the buttons used in customizing PasswordRecovery use "Button" as their IDs. So in my Page_Load() event, I tried this.Form.DefaultButton = pr1.FindControl("Button").UniqueID; where pr1 is the PasswordRecovery control. But I keep getting "Object reference not set to an instance of an object" error where I try to set Button as the default button.How do I make sure that the user can actually hit "Enter" to use PasswordRecovery as opposed to having to click the buttons?

View 4 Replies

AJAX :: Customizing Combobox Dropdownlist (width)?

Feb 15, 2011

there a way to change the width of the combobox control dropdown list? The problem is that because of the entries in it width of the combobox' dropdownlist exceeds the width of the screen resolution itself.So, is there a way to set a fixed width or any other better solution?

View 4 Replies

Customizing The Auto Generated Grid View In C#?

Mar 22, 2011

I'm creating a column through ItemTemplate in my gridview, how can i adjust it to be my last column, unfortunately .net is making this column to be the first in grid view i want it to be the last column. The rest of the columns are automatically created by this code.

I mean

gridview1.datasource = myArrayList
gridview1.databind()

View 1 Replies

ADO.NET :: EntityDataSource, ControlParameter, Customizing The CreateUserWizard Control?

Feb 28, 2011

I am trying to do a version of this post, but with the EntityDataSource. I think I am close, but it seems that the "InsertText" and "Insert" command in the code-behind do not carry over. Here is what I have so far, but please help me fix it. In addition, in the .edmx the Table "UserProfiles" inherits from "aspnet_Users"

[Code]....

[Code]....

View 1 Replies

Installation :: Customizing The Address In Web Setup Project?

Feb 28, 2011

I have a web app and a web setup project in VS2010. By default, when I install my web app using my web setup project, in the Installation Address folder dialog window, the default Application Pool is DefaultAppPool. It has been stated in the MSDN documentation that we can change this default TARGETAPPPOOL, say to "ASP.NET V2.0". Here is the excerpt from MSDN... "The Application Pool list shows the available application pools on the target computer, and the default setting is named DefaultAppPool. To change the default application pool in your Web setup projects, you can use a post-build action to update the name of the application pool in the MSI." Is there anybody in the group knows the syntax on setting the TargetAppPool to another pool that exists in IIS, e.g., ASP.NET V4.0 CLASSIC?

View 1 Replies

Javascript - Customizing Webforms Site Timeout?

Jan 26, 2011

is it possible to set a user defined timeout value on an asp.net website...i have a table that stores the time out value for each user of my website...i need to set the time out based on who logged in...i know that the default aspnet timeout setting is 20 mins of inactivity...is there any way i can circumvent this...and yes i do need to show a modal when the timeout expires and need to reset the timeout value if the user wants to continue the session or log them out if they choose not to continue...

View 1 Replies

Customizing Membership Provider To Add Logging Capabilities?

Sep 17, 2010

need to slightly tweak the functionality of the ASP.NET Membership provider to add custom logging functionality. Instead of creating a wrapper class around the methods I wish to modify, I was toying with the idea or creating a custom Membership Provider and override a few of the methods.All the examples I could find would show how to create it from scratch. I don't want to overwrite everything... just override a few methods. Can somebody point me in the right direction?I can simply inherit from SqlMembershipProvider and override the methods. However, how can I get at the connection string?

View 1 Replies

C# - Customizing MonoDevelop To Enhance Productivity And Coding ?

Oct 23, 2010

I installed monodevelop, and so far everything is working fine.I was just wondering if you had any tips or must dos for any person who is using monodevelop for c# / asp.net programming Feel free to recommend open or closed source tools that are useful with mono develop Settings I should change / modify to get a better coding experience?

View 2 Replies

C# - Customizing Ajax Toolkit Html Editor Control?

Mar 8, 2011

Two questions:

1: my requirement is absolutely weird. To add a dropdown in the existing toolbar of HTMLEditor of Ajaxtoolkit and that dropdown will be populated from the database. I am stucked with the issue ..

Or if its not possible

2: any way to display context menu inside the HTML editor and from context menu , i can choose item, and that item will get placed at the position from where context menu is called. Also that context menu will be able to display data from database. I hope you can under stand , first one is my issue and another one is its workaround..

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved