Custom Module - Edit text field with current HTML Editor

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/13/2010 2:34:36 PM
Gravatar
Total Posts 245
mojoPortal Community Expert

Custom Module - Edit text field with current HTML Editor

In a Custom Application we built in mojoPortal, my manager (Laurena) has asked me if I can allow some of the long Text fields like "Description or Comments" to have an icon beside them and when clicked, open up a window with the current HTML editor to enter/edit that text.  Is there a place with code that does something like this in mojoPortal now?

Some smart users have already started using HTML tags to bold things and add hypertext links in these text fields.

Hope this makes sence.

Thanks  Rick

2/21/2010 8:31:44 AM
Gravatar
Total Posts 18439

Re: Custom Module - Edit text field with current HTML Editor

Hi Rick,

You can use GreyBoxHyperlink to open a dialog page with an editor on it. I did this recently in my Form Wizard Pro product to support an instruction block question type so additional instructions could be placed among the questions. Since the editors don't work inside an UpdatePanel I created a dialog page.

For something kind of similar in mojoPortal, look at the way the help links work. They open a greybox dialog with the help text page, but for admins it also has a link for an editor. In your case you would just have the editor on the initial page opened with the link.

Hope it helps,

Joe

2/21/2010 11:26:28 AM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: Custom Module - Edit text field with current HTML Editor

Thanks Joe.  I appreciate this info.

Beers on the way!

You must sign in to post in the forums. This thread is closed to new posts.