Solved

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

Posted on 2008-10-25
5
239 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Compute age Html 2 26
Why is my $_POST not going to results page 10 38
How do I add counter to html listbox using jquery 2 26
How to set focus on a dynamic control 18 23
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

749 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