Ajax control in content template

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.
10/6/2012 4:25:31 AM
Gravatar
Total Posts 32

Ajax control in content template

Hi,

Im trying to create a content template and I would like to use the ajax CollapsiblePanel in the template. it would be very similar to including the FAQ template with "only one question and answer" within my template, this does work, i tried it. I can remove the images for question and answer but I cannot change the text / title of the "question" when the "answer" is being displayed. I want the title to display "show more text", the user clicks this more text is being displayed, also the title should change to "hide text". This would mean when using the FAQ that the question is "show more text" but should change when clicked.

For this reason i wanted to use the ajax CollapsiblePanel in the template, It has the functionality that I want, but it doesn´t seem to work. It does not display the title, only the additional text.

Any help on this, would be appreciated.

thanks

regards,

Lynton

10/6/2012 5:52:31 AM
Gravatar
Total Posts 18439

Re: Ajax control in content template

You can only use html in content templates and in some cases you might be able to use javascript but you cannot use any asp.net server controls or any other server side code there.

10/8/2012 4:51:35 AM
Gravatar
Total Posts 32

Re: Ajax control in content template

Thanks Joe

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