C# Class Admin.Posts.AddEntry

Show file Open project: rasmuskl/ReSharperCourse

Public Methods

Method Description
GetCallbackResult ( ) : string

Returns the results of a callback event that targets a control.

RaiseCallbackEvent ( string eventArgument ) : void

Processes a callback event that targets a control.

Protected Methods

Method Description
BtnUploadImageClick ( object sender, EventArgs e ) : void

Handles the Click event of the btnUploadImage control.

BtnUploadVideoClick ( object sender, EventArgs e ) : void

Handles the Click event of the btnUploadVideo control.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event to initialize the page.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

Private Methods

Method Description
BindBookmarklet ( ) : void

The bind bookmarklet.

BindCategories ( Guid postId ) : void

The bind categories.

BindPost ( Guid postId ) : void

The bind post.

BindTags ( ) : void

The bind tags.

BindUsers ( ) : void

The bind users.

BtnCategoryClick ( object sender, EventArgs e ) : void

Handles the Click event of the btnCategory control.

BtnUploadFileClick ( object sender, EventArgs e ) : void

Handles the Click event of the btnUploadFile control.

CbUseRawCheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the cbUseRaw control.

PreSelectAuthor ( string author ) : void

The pre select author.

SizeFormat ( float size, string formatString ) : string

Sizes the format.

Upload ( string virtualFolder, FileUpload control, string fileName ) : void

Uploads the specified virtual folder.

ValExistServerValidate ( object source, ServerValidateEventArgs args ) : void

Handles the ServerValidate event of the valExist control.

Method Details

BtnUploadImageClick() protected method

Handles the Click event of the btnUploadImage control.
protected BtnUploadImageClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

BtnUploadVideoClick() protected method

Handles the Click event of the btnUploadVideo control.
protected BtnUploadVideoClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

GetCallbackResult() public method

Returns the results of a callback event that targets a control.
public GetCallbackResult ( ) : string
return string

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event to initialize the page.
protected OnInit ( EventArgs e ) : void
e EventArgs /// An that contains the event data. ///
return void

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e EventArgs /// The object that contains the event data. ///
return void

RaiseCallbackEvent() public method

Processes a callback event that targets a control.
public RaiseCallbackEvent ( string eventArgument ) : void
eventArgument string /// A string that represents an event argument to pass to the event handler. ///
return void