Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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…

920 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

16 Experts available now in Live!

Get 1:1 Help Now