Solved

How to create a HTML live editador for my aspx pages?

Posted on 2008-10-25
5
235 Views
Last Modified: 2012-05-05
Hi experts.
I have a side done in aspx. I wan to add a new feature to the site of my client.
Is there a way to add a HTML editor in real time, meaning give to the client a little more power to their site to udate it when they want to.
How can I do this?

The site will be normal visible for everybody except for one user, this user is the one that will be able to update the content of the page.

I have been thinking how to do this?
Help, please.

ps: the site Wikipedia have somthing like this. Where you can actually change the context of the page. To change the context of the page I need to click a pendil Icon and the context will change to be writeable instead of be readable...ANy sugestion how they do this
0
Comment
Question by:eddyperu
  • 2
  • 2
5 Comments
 
LVL 36

Accepted Solution

by:
Loganathan Natarajan earned 125 total points
ID: 22802262
0
 
LVL 4

Author Comment

by:eddyperu
ID: 22802340
I think that is what I am looking for. Would you mind to correct me If I am wrong:

I have clients that are different companies and they want to update their text every week . Their sites are built in aspx.
In the company I want to give only to one user the power to edit the text from the site. The rest of the people and specially for out there(internet) they will see a normal aspx site.
It will be something like this. In the site might be a button called log in, the person that will want to edit the template will log in and it will take him/her to the site but the site will have two new controls, 2 buttons whic are  "edit"  and "save"  in the top of every page, when the person click edit, the person can start editing the text and clicking the save, will save the page, changing the context of the page.

For the rest of the people if they can't log in the buttons(edit and save) won't appear. It will show them a normal aspx site without the power to edit.

I have found one link and you sent me another one too about how to do this, I think.....
Would you mind to tell me which one of these will help me to make this feature in all my sites?
http://www.codeproject.com/KB/ajax/HtmlEditor.aspx
http://www.codeproject.com/KB/scripting/htmlarea.aspx#intro1

and if this won't work for what I am trying to do, how will I do it?

thanks
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 22802424
I think both will do for you!, htmlarea is simple to integrate ..,
another one also good stuff with ajax.
0
 
LVL 6

Assisted Solution

by:AmarIs26
AmarIs26 earned 125 total points
ID: 22806964
you should really try tinymce
http://tinymce.moxiecode.com/
main reason is its open source and it offers more features than html editors found on codeproject.  also it comes with tonns of plugins to do pretty much everything you can think of.
0
 
LVL 4

Author Comment

by:eddyperu
ID: 22833268
Hi, Experts
Thanks fo r your answer
Tinymce ..is not a open source for companies, I am creating pages in aspx that will allow to have this feature(coding your HTML).I am trying to open a company.

I don't know if you have understand my question or may be I am confuse(I am nre in this coding stuff).
may be somebody can explain me better about HTML editor.

This is what I am trying to do:
THere is a site called Mysite.aspx. this is a normal site that contain 5 different pages. Each page have a information about something. Efverybody can read and see this site.
In one of the pages(homepage.aspx) there is a button called "login", when a person click that button it will send you to "login.aspx" page, where it is going to ask for your username and password(This informaiton is in a database). If you have the right username and password, it will send you back to the same site with the 5 pages BUT............Now the site is different, All the section with text can be EDITING... now the client can edit the information in the page, remember that all 5 pages are now in EDIT mode. When the client finishing editing, the client will click a button called "SAVE" that is also in all the 5 pages, and it will save the new infomation or if you want to call it update the information to the site.

The client click Refresh to the page and new information is there in the Website.........What is the better approach to take this idea and make it real.

I was thinking.........Do I need a database that will feed the web page(special the section with information for each page) and populated the information in a control(textbox,literal)?
So when the client get to the edit form he is is actually editing information from my database and when the click save they are actually updating the information from my database?..IS this true???

Thank you for your help! I am not clear yet how to do this.

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now