Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
sir,
my question is that i want to take one by one basic html page into edit mode.Where adim edit all html page.

mean all contain,image will come in edit mode where person edit what he want and update the new contain with single click.

may i know how to do?
Posted
Comments
Sergey Alexandrovich Kryukov 13-Dec-11 8:59am    
What is that; and what do you want to do with the result of editing.
--SA

There is no such "mode". How would you use it?

If you want to put an "edit mode" any arbitrary Web page, it has nothing to do with ASP.NET. Such feature is available in some browsers and have nothing to do with Web development per se; you can only modify the content and save it locally. In most browsers you can also use "View page source". I don't think you are interested in this trivial behavior.

Of course, you can generate a <textarea> element and put any arbitrary content in its value. In particular, you can load a content of any other Web page in it, but why? Would you want the user to post the edited content to the server and make the resulting HTML code accessible to the clients as it is? In principle, you could, but I warn you: it would break security if the site to an unthinkable extent! :-)

—SA
 
Share this answer
 
Comments
Rohit Sharma706 17-Dec-11 4:02am    
Thanks for your reply.
Actually my website is in HTML. Sometimes i want to change it contents and pictures. But every time i have to change the content and image in my computer and then upload it to get the effect. Now i want this section in my webpage in different section called "Admin". Where all the html pages are in a dropdown menu. For each selection content and pictures are came into editable mode. Hope i can explain you my question properly.
Now please give me a suggestion as per question.
If you are using IE8 and above to view your page, just press F12.
A new window will open up. This actually loads your page in developer mode.

You can take a look at the source code by going to the view menu and then viewing the source.
You can copy the contents of the web page into an editor and modify as required.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900