views:

25

answers:

1

Hi, I am working for a project on disaster management sponsered by World Bank, under this project i have assigned work on CMS. and my senior has asked me to make a ASP.NET webpage where those logged with administrator privilege will be able to edit the page. like:-

<div id="mydiv"><pre>+++++++MY CONTENT+++++++++++++++++++</pre></div>

now if if the admin clicks on mydiv he should be able to edit the pre contents.

for this i got many options such as WYSIWYG editors (but they work on textboxs only and further more they cant save the data back to server replacing the previous content)
then I came to know about Webparts , but its editing capabilities was so low that my plan for implementing a WYSIWYG editor went in vain.

so I m seeking help from u all is their any way to achieve the motive, it would be better if u can suggest something like incorporating WYSIWYG into webpartmanager editor... THANKS..

A: 

Here is a good article on winsmarts.com on writing custom editor for web-parts. It is in context of sharepoint but as sharepoint uses asp.net infra to manage web-part, you will benefit from this.

here is another article on eggheadcafe.com.

TheVillageIdiot