Uiinfrastructure API Docs  
 

InPlaceRefreshHelper.GetJSSendGETOnAFormDP Method 

Helper method to get the JavaScript call to sent an in place GET 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 GetJSSendGETOnAFormDP(
   string strURL,
   string refreshElementID,
   int nRepostAction
);

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.

Return Value

The JavaScript method call for SendGETOnAFormDP.

See Also

InPlaceRefreshHelper Class | com.plumtree.uiinfrastructure.statichelpers Namespace