SoftadminSnippet.PostbackButton

Type: Scalar function

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

Parameters

@LinkGuid mandatory uniqueidentifier
@ButtonLabelHtml mandatory nvarchar
HTML to show in the button. Not related to the <label> element.
@Argument mandatory nvarchar
@CssClass mandatory varchar