Dynamicweb 8 Documentation
SetUrl Method

The name without any formatting - simply the name of the module item, i.e. 'Product one'.
The query string part. I.e. '&ProdID=1' or '&NewsID=1'.
Sets the URL and returns the name. Will handle formating etc.
Syntax
'Declaration
 
Public Shared Function SetUrl( _ 
   ByVal name As String, _ 
   ByVal queryStringPart As String, _ 
   ByVal alternateKey As String _ 
) As String
public static string SetUrl( 
   string name,
   string queryStringPart,
   string alternateKey 
)

Parameters

name
The name without any formatting - simply the name of the module item, i.e. 'Product one'.
queryStringPart
The query string part. I.e. '&ProdID=1' or '&NewsID=1'.
alternateKey

Return Value

The name for use in URL - i.e. "/Product-one.aspx"
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Handler Class
Handler Members

Send Feedback