SoftadminSnippet.PostbackButton

 Show all Hide all

Generates a button when called from a snippet procedure. Clicking the button triggers the Link/Button Postback call for the snippet.

Example

DECLARE @LinkGuid uniqueidentifier;
EXEC SoftadminSnippet.DeclareLink
	@Action = N'Book',
	@LinkGuidOut = @LinkGuid OUTPUT;

SELECT SoftadminSnippet.PostbackButton(@LinkGuid, N'Book room', N'17', NULL) AS Html;

See also

Type: Scalar function
Area of use: API

Parameters:

@LinkGuid mandatory uniqueidentifier
@Html mandatory nvarchar
@Argument mandatory nvarchar
@CssClass mandatory varchar