mojoPortal API Documentation
mojoPortal.Web.Controls Namespace
mojoPortalmojoPortal.Web.Controls
Declaration Syntax
C#
namespace mojoPortal.Web.Controls
Types
All TypesClassesEnumerationsDelegates
IconTypeDescription
AdCreatedEventArgs
AdCreatedEventHandler
AddThisButton
See http://www.addthis.com

AdRotator
Album
The photo album handler. This class can act as an HttpHandler or as a Control. IHttpHandler,

CalendarDay
jsCalendarDatePicker..::.CalendarLanguage
jsCalendarDatePicker..::.CalendarTheme
CaptchaControl
CheckState
State of checkbox (for three-state checkbox)

CollapseLinkButton
Author: Joe Audette Created: 2006-07-30 Last Modified: 2007-08-30 The use and distribution terms for this software are covered by the Common Public License 1.0 (http://opensource.org/licenses/cpl.php) which can be found in the file CPL.TXT at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.

CornerRounderBottom
If DoRounding is true renders botom elements for Corner Rounding Based on Nifty Corners: rounded corners without images By Alessandro Fulciniti http://www.html.it/articoli/nifty/index.html Tip: this property can be set in theme.skin file for a skin to turn rounded corners on or off. The rounding is actually done by css, this control only adds markup (extra unsemantic divs) that the css is applied to for the rounding effect. Example css .rtop, .rbottom{display: block;} .rtop, .rbottom{background: #414141;} .rtop .r1, .rtop .r2, .rtop .r3, .rtop .r4, .rbottom .r1, .rbottom .r2, .rbottom .r3, .rbottom .r4{background: #545454;} .rtop .r1, .rtop .r2, .rtop .r3, .rtop .r4, .rbottom .r1, .rbottom .r2, .rbottom .r3, .rbottom .r4 { display: block;height: 1px;overflow: hidden; } .r1{margin: 0 5px} .r2{margin: 0 3px} .r3{margin: 0 2px} .rtop .r4, .rbottom .r4{ margin: 0 1px; height: 2px } .rbottom { margin-bottom:10px; }

CornerRounderTop
If DoRounding is true renders top elements for Corner Rounding Based on Nifty Corners: rounded corners without images By Alessandro Fulciniti http://www.html.it/articoli/nifty/index.html Tip: this property can be set in theme.skin file for a skin to turn rounded corners on or off. The rounding is actually done by css, this control only adds markup (extra unsemantic divs) that the css is applied to for the rounding effect. Example css .rtop, .rbottom{display: block;} .rtop, .rbottom{background: #414141;} .rtop .r1, .rtop .r2, .rtop .r3, .rtop .r4, .rbottom .r1, .rbottom .r2, .rbottom .r3, .rbottom .r4{background: #545454;} .rtop .r1, .rtop .r2, .rtop .r3, .rtop .r4, .rbottom .r1, .rbottom .r2, .rbottom .r3, .rbottom .r4 { display: block;height: 1px;overflow: hidden; } .r1{margin: 0 5px} .r2{margin: 0 3px} .r3{margin: 0 2px} .rtop .r4, .rbottom .r4{ margin: 0 1px; height: 2px } .rbottom { margin-bottom:10px; }

CutePager
DataBoundCalendarHeader
DataBoundCalendarItem
DataCalendar
Code sample by Mike Ellison from article http://www.codeproject.com/aspnet/MellDataCalendar.asp subclass of the ASP.NET Calendar control for displaying events from a DataTable with support for templates Mike has given permission to use this as we will with no conditions though he does appreciate any reference to him in the credits or code Last Modified: 2008-01-28 Joe Audette

DataCalendarItem
DateFormatSetting
DatePickerControl
DayNumberDiv
EventCalendarControl
A Calendar control that can be databound to a data source to show events

FancyPagerTemplate
FlashInput
FlashMovie
FlashParameter
FlashVariable
FlexibleGridView
Based on a custom GridView by Matt Berseth: http://mattberseth.com/blog/2007/07/how_to_show_header_and_footer.html It allows header and footer to be shown even the there is no data in the GridView.

GoogleAnalyticsScript
sets up google analytics tacking

GraphicalCheckBox
http://www.codeproject.com/aspnet/graphicalcontrols.asp Graphical Asp.Net checkbox (with customizable images)

GraphicalControlsSettings
http://www.codeproject.com/aspnet/graphicalcontrols.asp Class that allows developer to simply set same images to all Graphical controls in project

GraphicalRadioButton
http://www.codeproject.com/aspnet/graphicalcontrols.asp Graphical Asp.Net checkbox (with customizable images)

Gravatar
Source: http://www.freshclickmedia.com/blog/2008/02/gravatar-aspnet-control/ 2008-08-13 Joe Audette added to this project and changed namespace to be more convenient 2008-08-13 Joe Audette added support for SSL by returning the secure url if request is secure

HelpLinkButton Obsolete.
InsecurePanel
I use this to wrap things so they are not displayed when using https/ssl, otherwise the user gets browser warnings about the insecure items in the request

jsCalendarDatePicker
mojoGridView
OdiogoItem
Gravatar..::.RatingType
SeparatorControl
Created: 2006/04/20 Last Modified: 2007/04/20 The use and distribution terms for this software are covered by the Common Public License 1.0 (http://opensource.org/licenses/cpl.php) which can be found in the file CPL.TXT at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software. The purpose of this control is just for displaying a separator between links in the mojoportal skins either as text or image, with option to hide when authenticated or hide when anonymous.

SimpleMathCaptchaControl
Author: Joe Audette Created: 2007-08-16 Last Modified: 2007-08-16 Licensed under the terms of the GNU Lesser General Public License: http://www.opensource.org/licenses/lgpl-license.php You must not remove this notice, or any other, from this software.

SiteLabel
Author: Joe Audette Created: 2006-12-13 Last Modified: 2008-08-15 02/12/2007 Alexander Yushchenko: refactoring to simplify control logic. 2007/04/16 JA fixed bugs introduced in refactoring, was not resolving booleans correctly with tryparse and once that was fixed was showing config key instead of text when UseLabelTag = false This control is really just designed for use in mojoPortal and external projects that plug into mojoPortal. 2007-11-26 Joe Audette - change to render directly to output without unneccesary string creation 2008-08-15 Joe Audette removed use of viewstate

SmartCombo
Author: Joe Audette Created: 2005-08-20 Last Modified: 2008-09-03 Dependencies: must point the ScriptDirectory property at a folder containing SmartCombo.js as well as the Sarissa javascript files: sarissa.js and sarissa_ieemu_xpath.js which provide a javascript abstration layer around the different XmlHttpRequest features of the different web browsers. more info: http://sarissa.sourceforge.net/doc/

WatermarkTextBox
YUIPanel Obsolete.
These YUI controls are no longer used in mojoPortal and no longer being maintained, we have standardized on jQuery The purpose of this control is just to provide a convenient panel that adds the css class to the YUI skin