pop up.

rated by 0 users
This post has 1 Reply | 2 Followers

Top 500 Contributor
Male
Posts 76
Points 950
MamboRocks Posted: Fri, Apr 4 2008 11:37 AM

I have created a cutom page where it inherits WrappedFormBase.The page has same functionality as in  Createeditforumsposts.aspx additionally code written for sending mail.i am able to work with it.Using these classes gives Telligent modal poup.I want to know how can we use a normal popup.what is the ideal way to do it??

  • | Post Points: 20
Top 10 Contributor
Posts 4,039
Points 61,285
TelligentSupportTeam

You'll be better posting that to the asp.net forums as using "normal" popups are not strictly to do with Community Server.

A few more htings - you shouldn't have a page inheriting WrappedFormBase but rather you can have a control inheriting WrappedFormBase.  Also, if you only want to extend the functionality of the CreateEditForumPost Form, it'll probably be a lot easier if you were to just create a SubForm (see TagsSubForm for an example), as this will prevent you duplicating code, and it will be easier to upgrade your site at a later date.  Alternatively to the subform, you may be better off implementing your idea as a CSModule.

As a guide, if your additional functionality doesn't require any extra input from the user, use a CSModule and hook into the PrePostUpdate or PostPostUpdate event, check if the object is a ForumPost and if it's ObjectState is Create, and if so do your stuff.  If you require user input, then take the subform route.

  • | Post Points: 5
Page 1 of 1 (2 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com