Hey
ASP.NET 2.0
lets say I have a web page containing a FCKeditor, when this page loads it
will fill the FCKeditor with some kind of text... I'm wondering how to set
this text in the FCKeditor?
I'm also wondering how to get the text entered in the FCKedtior. I've tryed
putting a button on the web page, in the event handler I've placed a script
below. But this script don't get teh value in the FCKeditor the string
variable "test" don't get the value of the FCKeditor, it gets the value
"FredCK.FCKeditorV2.FCKeditor"
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
string test = FCKeditor1.ToString();
}
}
This is the markup of the page I'm having problems with using FCKeditor:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" ValidateRequest="false" %>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2"
Assembly="FredCK.FCKeditorV2" %>
<!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>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<FCKeditorV2:FCKeditor id="FCKeditor1" BasePath="~/FCKeditor/"
runat="server" />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click"
Text="Button" /></div>
</form>
</body>
</html>
Any suggestions? 5 3875
did u tried: http://wiki.fckeditor.net/
here you can see how it works: http://wiki.fckeditor.net/Developer%...ration/ASP.Net
--
Bruno Alexandre
København, Danmark
"a portuguese in Denmark"
"Jeff" <it************@hotmail.com.NOSPAMescreveu na mensagem
news:en**************@TK2MSFTNGP03.phx.gbl...
Hey
ASP.NET 2.0
lets say I have a web page containing a FCKeditor, when this page loads it
will fill the FCKeditor with some kind of text... I'm wondering how to set
this text in the FCKeditor?
I'm also wondering how to get the text entered in the FCKedtior. I've
tryed putting a button on the web page, in the event handler I've placed a
script below. But this script don't get teh value in the FCKeditor the
string variable "test" don't get the value of the FCKeditor, it gets the
value "FredCK.FCKeditorV2.FCKeditor"
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
string test = FCKeditor1.ToString();
}
}
This is the markup of the page I'm having problems with using FCKeditor:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" ValidateRequest="false" %>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2"
Assembly="FredCK.FCKeditorV2" %>
<!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>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<FCKeditorV2:FCKeditor id="FCKeditor1" BasePath="~/FCKeditor/"
runat="server" />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click"
Text="Button" /></div>
</form>
</body>
</html>
Any suggestions?
FredCK.FCKeditorV2.FCKeditor youreditor= new
FredCK.FCKeditorV2.FCKeditor();
and then in order to get it' value in our code use:
String thevalue=youreditor.Value;
Hey
ASP.NET 2.0
lets say I have a web page containing a FCKeditor, when this page loads it
will fill the FCKeditor with some kind of text... I'm wondering how to set
this text in the FCKeditor?
I'm also wondering how to get the text entered in the FCKedtior. I've
tryed putting a button on the web page, in the event handler I've placed a
script below. But this script don't get teh value in the FCKeditor the
string variable "test" don't get the value of the FCKeditor, it gets the
value "FredCK.FCKeditorV2.FCKeditor"
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
string test = FCKeditor1.ToString();
}
}
This is the markup of the page I'm having problems with using FCKeditor:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" ValidateRequest="false" %>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2"
Assembly="FredCK.FCKeditorV2" %>
<!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>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<FCKeditorV2:FCKeditor id="FCKeditor1" BasePath="~/FCKeditor/"
runat="server" />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click"
Text="Button" /></div>
</form>
</body>
</html>
Any suggestions?
thanks!
"Justin Kadima" <ju***********@kondiment.rowrote in message
news:Ok**************@TK2MSFTNGP05.phx.gbl...
>
FredCK.FCKeditorV2.FCKeditor youreditor= new
FredCK.FCKeditorV2.FCKeditor();
and then in order to get it' value in our code use:
String thevalue=youreditor.Value;
>Hey
ASP.NET 2.0
lets say I have a web page containing a FCKeditor, when this page loads it will fill the FCKeditor with some kind of text... I'm wondering how to set this text in the FCKeditor?
I'm also wondering how to get the text entered in the FCKedtior. I've tryed putting a button on the web page, in the event handler I've placed a script below. But this script don't get teh value in the FCKeditor the string variable "test" don't get the value of the FCKeditor, it gets the value "FredCK.FCKeditorV2.FCKeditor"
public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) {
} protected void Button1_Click(object sender, EventArgs e) { string test = FCKeditor1.ToString(); } }
This is the markup of the page I'm having problems with using FCKeditor: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" ValidateRequest="false" %> <%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<!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>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <FCKeditorV2:FCKeditor id="FCKeditor1" BasePath="~/FCKeditor/" runat="server" /> <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" /></div> </form> </body> </html>
Any suggestions?
Keep something in mind, this may not work with Vista. The FCKeditor relies
(at least when I used it) on an html editing control that came with windows.
Vista won't be including that control as part of the OS so users on Vista
won't see the editing area.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:en**************@TK2MSFTNGP03.phx.gbl...
Hey
ASP.NET 2.0
lets say I have a web page containing a FCKeditor, when this page loads it
will fill the FCKeditor with some kind of text... I'm wondering how to set
this text in the FCKeditor?
I'm also wondering how to get the text entered in the FCKedtior. I've
tryed putting a button on the web page, in the event handler I've placed a
script below. But this script don't get teh value in the FCKeditor the
string variable "test" don't get the value of the FCKeditor, it gets the
value "FredCK.FCKeditorV2.FCKeditor"
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
string test = FCKeditor1.ToString();
}
}
This is the markup of the page I'm having problems with using FCKeditor:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" ValidateRequest="false" %>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2"
Assembly="FredCK.FCKeditorV2" %>
<!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>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<FCKeditorV2:FCKeditor id="FCKeditor1" BasePath="~/FCKeditor/"
runat="server" />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click"
Text="Button" /></div>
</form>
</body>
</html>
Any suggestions?
That's a bad news :(
"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
news:ew**************@TK2MSFTNGP03.phx.gbl...
Keep something in mind, this may not work with Vista. The FCKeditor relies
(at least when I used it) on an html editing control that came with
windows. Vista won't be including that control as part of the OS so users
on Vista won't see the editing area.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:en**************@TK2MSFTNGP03.phx.gbl...
>Hey
ASP.NET 2.0
lets say I have a web page containing a FCKeditor, when this page loads it will fill the FCKeditor with some kind of text... I'm wondering how to set this text in the FCKeditor?
I'm also wondering how to get the text entered in the FCKedtior. I've tryed putting a button on the web page, in the event handler I've placed a script below. But this script don't get teh value in the FCKeditor the string variable "test" don't get the value of the FCKeditor, it gets the value "FredCK.FCKeditorV2.FCKeditor"
public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) {
} protected void Button1_Click(object sender, EventArgs e) { string test = FCKeditor1.ToString(); } }
This is the markup of the page I'm having problems with using FCKeditor: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" ValidateRequest="false" %> <%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<!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>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <FCKeditorV2:FCKeditor id="FCKeditor1" BasePath="~/FCKeditor/" runat="server" /> <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" /></div> </form> </body> </html>
Any suggestions? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ronald |
last post by:
Hi,
I'm am trying to implement FCKeditor in my webapplication, but
unfortunatly, I haven't succeeded in doing this. After almost a week,
I finally got an compiled application, but now I get some...
|
by: Showjumper |
last post by:
Has anyone been able to get FckEditor for dotnet to work successfully? I
consulted google groups for past post on the matter but found onlu a few
posts relating to it and still wasnt able to get it...
|
by: Gerry |
last post by:
FCKeditor appears to be a good product. Unfortunately, the
documentation is severaly lacking. (Due to this?)I am having a problem
and I have a question.
Problem:
FCKeditor appears to function...
|
by: Stanley Cheung |
last post by:
Hello all,
Any one tried to implement fckeditor (htmleditor) on your application?
i am tring to add fckeditor (www.fckeditor.net) on my dotnet application,
but i can't find any connector for...
|
by: Ferret Face |
last post by:
Has anyone had any success using ASP.NET with FCKEditor?
|
by: beemer127 |
last post by:
Hello:
I'm really new to both .NET and SQL, and I am still learning. I have
the FCKeditor working, meaning that it displays in my page, and I have
the SQL connection string established, but I'm...
|
by: Archana1 |
last post by:
hi
I want to add fckeditor in asp. but it have some error like page can not be display
Please reply urgently
my code is:
<!-- #include...
|
by: ShirishKumar |
last post by:
Hi,
I have some problem with FCKEditor . First of all Required FiledValidator is not working for FCKeditor . I searched google and kept EnableClientScript of requiredfieldvalidator for...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |