Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the target value used in the BASE element of the page.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property Target As String
Get
Set
'Usage
Dim instance As DialogMaster
Dim value As String
value = instance.Target
instance.Target = value
public string Target { get; set; }
Property Value
Type: System.String
A string that contains the target value used in the BASE element of the page.
Remarks
The default value of this property is "_self" which will cause ASP.Net postbacks to occur within the same window. If you need your dialog to open a link in a different window then you have two options:
Explicitly set the target of that link to something else
Change this property to something else
Setting the target property on a link will, of course, only alter that link. Setting this property will be changing the default target for all links and form actions (includes postbacks).