CodeCarvings.Piczard
OnClientBeforePopupCloseFunction Property
See Also  Send Feedback
CodeCarvings.Piczard.Web Namespace > PopupPictureTrimmerCore Class : OnClientBeforePopupCloseFunction Property

Gets or sets the name of the client function to be called before the popup window closes.

Syntax

Visual Basic (Declaration)  
Public Property OnClientBeforePopupCloseFunction As String
C#  
public string OnClientBeforePopupCloseFunction {get; set;}

Return Value

The name of the client function to be called before the popup window closes.
The default value is an empty string, which indicates the control do not call any function.

Remarks

Please see:

The function receives 2 parameters:

  1. sender - A reference to the object that generated the event.
  2. args - An object containing additional information about the event.
    In particular the args object provides the following properties:
    • args.saveChanges
      Gets or sets a value indicating whether to save the changes or not.
    • args.previousUserState
      Gets the previous userState (before popup opens).
    • args.newUserState
      Gets or sets the new userState.
    • args.resetUIParams
      If you set this value to false, then the uiParameters will NOT be reset.
      In this case the next time the popup is opened the previous uiParams are applied.
      The default value is true.
    • args.performPostback
      Gets or sets a value indicating whether to perform a page postback.
    • args.goOn
      If you set this value to false then the popup will NOT close.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.