Hiding Controls In FCKEditor?
Jul 9, 2010i am using FCKEditor but i dont want all the buttons that are in the toolbar area i want only some of them is there any way to hide them using css or javascript or in any other way.
View 2 Repliesi am using FCKEditor but i dont want all the buttons that are in the toolbar area i want only some of them is there any way to hide them using css or javascript or in any other way.
View 2 RepliesHow to Type Marathi Word in FCKeditor without using third Party Toolkit.
View 1 RepliesI'm trying to use a required field validator on a fckeditor inside a formview edit template, but it's not working and I can't seem to get any google searched methods on this to work.
View 4 RepliesI am using FCKEditor ASP.NET control 2.65 in my WebForms application. How can I set it to be readonly (preferably from the serverside)?
I am not seeing either Enabled or Readonly properties.
I have used FCKeditor in my project. It worked fine before i add url rewriting in my project.Now i can not upload images from my fckeditor properly.I am using Intelligencia.UrlRewriter for url rewriting in asp.net
View 2 RepliesQ: I want to ask how to use FckEditor in my asp.net web application I download the the compressed file from their site http://ckeditor.com/download and extract all the files into a folder in my web application but I don't know what can I do after that..
View 2 Repliesvar oEditor = FCKeditorAPI.GetInstance("<%=FCKeditorSelfDocument.ClientID %>");
var oDOM = oEditor.EditorDocument;
oDOM.body.innerText = 'Hello';
it is working fine in IE and chrome but not working in firefox 3.6.4
i am inserting values in fckeditor.
abc = Regex.Replace(FCKeditor.Value, @"<(.|
)*?>", string.Empty);
but while retrieving it is showing content along with the tags.
I have added fckeditor in my asp.net(vb) web site but i don't know how add pages to update at run time? 1) How to add .aspx pages in fckeditor so that i can edit an create new pages or tabs.
View 1 RepliesWhen i use RequiredFieldValidator for Validation FCKEditor ,The first time that the form gonna submit, RequiredFieldValidator prompt (ErrorMessage) and indicate that FCKEditor is empty ,while it isn't .Again if you try to submit the form,It's OK and there is no problem .At this case user have to hit the submit button twice So i have to disable Client Side validation and validate form just in Server Side code which is not good.
View 3 RepliesI need to modify the open-source FCKeditor (not CKeditor) to allow users to select multiple files and upload them in one go (as opposed to selecting them one at a time).
I've found a way to provide the functionality - there are ready made components that can be used.
But how do I add custom buttons with custom functionality in FCKeditor.
I have to preload the 9 instances of fckeditor on the page for entering the records . It is taking lot of time. the preload time can be minimized. this is the way i am doing it . They are being created dynamically
<script src="<%= Url.Content("~/Content/js/fck/fckeditor.js") %>" type="text/javascript"></script>
<%= Html.TextArea(TempData["OrganizationMeta"].ToString(), TempData["OrganizationMetaValue"].ToString(), new { @name = TempData["OrganizationMeta"] })%> [code]....
how to add multiple fckeditor field on asp.net mvc page?
[Code]....
i am using fckeditor in my page in the code behind file i want to retrieve the value of fckeditor what i am doing is
FckEditor objFckEditor = new FckEditor();
string abcd = server.Htmlencode(objFckEditor.value.trim());
i have also imported
using FredCK.FCKeditorV2; in the top
but it is returning only null value
Can I copy whole aspx page inside FckEditor and change controls of it ?
View 9 RepliesI have a WebForm that contains the following definition for the FCKeditor:
<FCKeditorV2:FCKeditor ID="txtBody" runat="server"
BasePath="/fckeditor/"
Height="480px"
ToolbarSet="WebCal1"
>
</FCKeditorV2:FCKeditor>
This works fine in my VS2008-based web application. However, when I deploy it to a Virtual Directory in IIS, it looks for the FCKEditor files (e.g. javascript, stylesheets, etc...) in the /fckeditor folder, not in the /MyVirtualDir/fkceditor.
I've tried changing the BasePath to ~/fckeditor/, but then it won't work on my dev machine.
What is the right way to go, so that the FCKEditor maps onto the right directory. In my project the fckeditor directory is right off the root.
I want to save fckeditor value in cookies. And fckeditor have value as " Hi <name>, and so on .." I am using following code :
My Code:
Save:
private void CookiesCreated()
{
//Create a new cookie, passing the name
HttpCookie cookie = new HttpCookie("BodyText");
//Set the cookies value
cookie.Value = Server.HtmlEncode(fckeditor.Value);
//Set the cookie to expire in 1 minute
cookie.Expires = DateTime.Now.AddMinutes(1);
//Add the cookie
Response.Cookies.Add(cookie);
}
Retrieve:
if (Request.Cookies["BodyText"] != null)
{
fckeditor.Value = Server.HtmlDecode(Request.Cookies["BodyText"].Value);
}
But i am uncomfortable to get the original value, i am getting only (<) this.
I want to write article in page, when click button at end of the page go to fckeditor page and found the article text inside the editor then makes any changes in text (font , size....) and click save button to save the article in previous page after change..
View 5 RepliesI don't seems to be able to get display the value in the FCKEditor? I have checked that my DB indeed stored some HTML values in nvarchar datatype fieldThis is my code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
Dim dr As SqlDataReader
[code]...
I have use fckeditor in asp.net. When user open the page containing fckeditor in Chrome. User can resize the text area of fckeditor. I want to prevent this.i.e.user should un-enable to resize the text area.
View 2 RepliesI am having problem retrieving html text value within FCKeditor upon submit form. My submit mvc model alway null value.Do anyone how retrieve html text value withing FCKeditor and put into mvc model upon form submit?
<script type="text/javascript">
is there some language to add to SQL that will hide a field?
View 5 RepliesI have a page with four panels. On page load all the panels are visible. there are radio buttons YES and NO. i have written java script such that if YES is clicked, certain panels are displayed and if NO is clicked, other panels are displayed.Now my problem is, on page load i dont want all the panels to be visible. If i use <control>.visible = flase on page load for those panels, java script is throwing error "Object Missing" when those radio buttons are clicked.
View 2 RepliesI am working on a website (developed in ASP.NET with C#) that was passed on to me. As I'm working through the site, I notice much of the site has this type of code in it:
EmailLabel.Visible = false;
WhateverButton.Visible = false;
AnotherControl.Visible = false;
...
This is all typically done in the code-behind of the site (in the Page_Load method). Essentially, this was put in place to prevent a non-logged in user from accessing components (the rule for the site is that a non-logged in user shouldn't be able to see any part of the site until they log in). The way above works...but it seems rather expensive to have to always check if the user is logged in and then flip to the correct status for all those components.Is there a different way that this problem could be approached. Just from thinking about it/research, I thought perhaps there would be a way that I could do a redirect back to the home page if a user is not logged in. Even further, I could extend a base page which would do this for any page that extends the base page. However, my knowledge in this area is limited, so my suggestion may not work.
I am facing problem on integration of fckeditor 2.6.3 with asp.net 3.5.
i added the fckeditor dll into my bin folder and added the fckeditor folder which are extracted from the fckeditor 2.6.3 zipped folder.
when i run the web page it shows the error that resource cannot be found