Uiinfrastructure API Docs  
 

InPlaceRefreshHelper.GetJSSendPOSTOnAFormDP Method (String, String, Int32, String)

Helper method to get the JavaScript call to sent an in place POST to the server, assuming you're on a page that uses AFormDP. This method wraps in-place refresh functionality, allowing you to replace the innerHTML of the specified ID. The repostAction will enable the server to decide what content to return in the response.

public static string GetJSSendPOSTOnAFormDP(
   string _strURL,
   string _refreshElementID,
   int _nRepostAction,
   string _strDocument
);

Parameters

_strURL
The URL to post to, generally GetCurrentNormalizedBaseURL.
_refreshElementID
The ID of the element to replace innerHTML.
_nRepostAction
The repostAction for the server to decide content.
_strDocument
The name of the document where the in-place refresh happens. This should be identified if it ocurrs in another window for example. A _strDocument value of null defaults to 'document'

Return Value

The JavaScript method call for SendPOSTOnAFormDP.

See Also

InPlaceRefreshHelper Class | com.plumtree.uiinfrastructure.statichelpers Namespace | InPlaceRefreshHelper.GetJSSendPOSTOnAFormDP Overload List