Wrox Programmer Forums
|
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 9th, 2007, 02:47 AM
Registered User
 
Join Date: Jan 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to use Text Editor in asp.net

Hi All Genius out there,

Is there any buddy enough Genius who can tell me how can I use Editors in ASP.Net Application, if some buddy can provide me example then it will be great.

Thanks
Abhishek A. Sharma :)

MCP(ASP.NET[1.1],C#)
 
Old January 9th, 2007, 02:56 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

If you promise to write *anybody* from now, on, I can refer you to:

www.fckeditor.,net.... ;)

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old January 9th, 2007, 04:02 AM
Registered User
 
Join Date: Jan 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

 Hi Imar Thanks for ur reply,

and I will remember to write "anybody" from now.
But I have already gone through the FCK Editor site,
It will be great if u can provide me the code example.

Thanks in Advance
Abhishek A. Sharma


MCP(ASP.NET[1.1],C#)
 
Old January 9th, 2007, 04:06 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

If you download the FCKEditor, you'll find a Samples folder that shows how to implement the editor.

Also, try Google for

fckeditor asp.net

It brings you to the FCKEditor Wiki site that explains how to do it.

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old January 15th, 2007, 07:28 AM
Registered User
 
Join Date: Feb 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Imar
 If you download the FCKEditor, you'll find a Samples folder that shows how to implement the editor.

Also, try Google for

fckeditor asp.net

It brings you to the FCKEditor Wiki site that explains how to do it.

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Imar
Thanks for the url's.
I have been digging in all info about FCKEditor & ASP.NET but still it'is not an easy job to implement this control. So if You really have some examples than why not share them? I'm looking for sollution to keep the FCK Editor upload-folder outsite of the website root. As far as now I'm still hacking the examples to get it right. So, if anyone is into Knowing_&_Showing then please give us a hand!

 
Old January 15th, 2007, 07:37 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I am not sure I understand that. How much more guidance / examples that this do you need: http://wiki.fckeditor.net/Developer's_Guide/Integration/ASP.Net
AFAIK, everything you need to set ip up is there.

Can you describe your problems in more detail?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old January 15th, 2007, 07:39 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
quote:I'm looking for sollution to keep the FCK Editor upload-folder outsite of the website root
I don't think that's possible, although I am not sure.

Why do you want to do this? If you do so, the uploaded files won't show up in the site....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old January 15th, 2007, 07:53 AM
Registered User
 
Join Date: Feb 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Imar
 
Quote:
quote:I'm looking for sollution to keep the FCK Editor upload-folder outsite of the website root
I don't think that's possible, although I am not sure.

Why do you want to do this? If you do so, the uploaded files won't show up in the site....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Thanks for replay.
According to our policy all upload material is located outsite of the root so your changes to the site files won't affect the user's stuff. We got all the sites redesigned this way but the one with FCKEdit where it is hard to change the upload location.
So maybe someone has got it

Jacek

 
Old January 15th, 2007, 07:57 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I think what you *could* do is this, although I haven't tried it.

1. Make a physical folder called Uploads, like C:\Uploads

2. In IIS, create a new virtual dir called Uploads and map it to C:\Uploads

3. Configure the FckEditor to use "~/Uploads" as the virtual folder for the uploads.

That way, the files are uploaded in a folder outside the webroot, yet they are web accessible as /Uploads/

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old January 15th, 2007, 08:05 AM
Registered User
 
Join Date: Feb 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot Imar!

I will try that one and
I will let you know if I can get it working.

Regards,
Jacek






Similar Threads
Thread Thread Starter Forum Replies Last Post
Html text Editor in c#.net kanwaldeep ASP.NET 1.0 and 1.1 Basics 3 November 23rd, 2007 05:16 AM
Text Editor in asp.net c# application kanwaldeep ASP.NET 1.0 and 1.1 Professional 2 November 22nd, 2007 10:35 AM
Free ASP.NET Editor. rupen ASP.NET 2.0 Basics 10 August 24th, 2005 08:21 AM
rich editor for CMS based on ASP.NET Boogy ASP.NET 1.0 and 1.1 Professional 5 May 19th, 2005 03:45 PM
ASP.Net/VB.Net Text Editor joevnvdvc Classic ASP Basics 0 July 29th, 2003 03:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.