confused with .net

  • Thread starter samanthapantha333
  • Start date
S

samanthapantha333

I am quite new to .net development, and uptill now had sussed it, I
have created a web application, kind of like a blog on my localhost,
It is delvered through SQL, and depending on where the user assigns
the pages will depend on where it is published in the site, but I
wan't to add a text editor to the text areas to make it a bit more
user friendly.

I have tried CUTE and FCK, both have a DLL, I need to register/
reference the DLL.


This is the closest thing I believe I have done to making it work, I
open Visual Web Developer, then I open the site, and click [website]
[add reference] then click on the DLL in the bin.


Doesn't work for me, am I doing something glaringly wrong, or do I
need to add something to my framework 2.0.507 - I'm really lost for
ideas on how this element of it works.


Any thoughts welcome


Sam
 
M

Mark Fitzpatrick

Referencing a dll in the project just means that the project references it
for compiling and deploying, it doesn't automatically add it to the toolbox.
All you need to do now is to add a reference to the toolbox. I haven't used
the VWD express version, but in the full version you simply open a page, go
to the toolbox, rightclick on an area that you want to add controls to,
select choose items, then browse to the dll for the control. This should add
the icons you'll need to drag and drop onto the designer surface. Keep in
mind, you're not adding a text editor to a text area, you'll be adding a
full rich-text editor. The difference is you won't be looking at extending
or adding features to a text area, you'll be putting an entire control in
its place. This will register the control in the page. Basically,
registering a control gives puts information into the page on how to access
the control such as the prefix and the suffix. To register a control you'll
need to know the name of the dll, and the namespace. The format is:

<%@ Register assembly="nameofdll" namespace="namespaceofcontrol"
tagprefix="theprefix" %>

You may want to check out www.freetextbox.com also, i've heard good things
about their rich text editor.

Look at the samples provided for one of the textboxes and you'll see how to
register it in the page. Then you can copy the code they use to embed it
into the page and go from there.
 
H

Hans Kesting

In addition to what Mark said: the last time I looked at FCKEditor it
needed not just the dll, but also a bunch of support and config files
that need to be included in the website.

Hans Kesting


(e-mail address removed) explained on 9-12-2007 :
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top