EntreeServer.Module.EntreeActiveUpdateObject
The EntreeActiveUpdateObject inherits the EntreeClickActionObject and provides additional properties and methods to support the ActiveUpdate system.
 
 
Properties
  • ConfirmActionPrompt
    The optional confirmation text to use to display to the user when they click the button (ie: "Are you Sure?")
  • FormSubmit
    Specifies if the click should submit form items (dropdowns, text boxes etc...)
  • SlideDirection
    On jQuery-supported browsers, defines which direction the screen should slide.
  • ForcePostback (ignored in ActiveUpdate)
    Specifies if the click should force a postback on AJAX enabled browsers.  The use for this primarily relates to the use of <input type='file'> fields where a postback is required to get the file.
  • UpdateType
    Can be set to either replace or append to the UpdateTarget.  If the UpdateTarget is an EntreeListItem, this property is ignored and is assumed to replace.
  • UpdateTarget
    Assigned target of ActiveUpdate response.  This can be either an EntreeListGroup or EntreeListItem.

Methods

  • UseInitialUpdateTarget
    Use this method when an EntreeActiveUpdateObject should be desigend to target the same object it is populating.  See this exercise as an example of this.
Example
 

EntreeClickActionObject cla = output.CreateClickAction();

cla["pid"] = i.ToString();

cla["screen"] = "page_stats";

My_List_Item.SetClickAction(cla);