Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.YetaWFManager.UniqueId Method

Returns a unique HTML id.

Class: YetaWF.Core.Support.YetaWFManager
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core

Syntax

public string UniqueId( string name = "a" );

Parameters

name

A string prefix prepended to the generated id.

Return Value

Returns a unique HTML id.

Remarks

Every call to the Unique() method returns a new, unique id.

Whenever an HTML id is needed, this method must be used. This insures that Ajax/Post requests do not accidentally use ids that were used in prior requests.

See Also YetaWF.Core.Support.YetaWFManager ClassYetaWF.Core Overview