GetAlertCreationLink(System.Web.UI.Page, String, String) Method

The GetAlertCreationLink method of the FolderAlertType class creates an Alert Me link for a folder by using the specified parameters. This method uses the current HTTP context to identify the portal site.

Parameters

page Current HTTP context. This page creates Microsoft JScript blocks and form fields.

folderUrl URL for the folder that this alert describes.

folderDisplayName Display name for the folder that this alert describes.

Return Value

String that contains URL to the new alert page.

Remarks

The GetAlertCreationLink method is a static, protected method and cannot be overwritten in your derived class. The resulting URL is JScript URL that generates a post request to the new alert page. Use this method when the resulting alert page URL that is generated by this method is over 2 KB. Long URLs may not display correctly in some client browsers.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security