Skip to main content

ASPxClientHtmlEditorInsertLinkCommandArguments.target Property

Determines where to open the target link.

#Declaration

TypeScript
target: string

#Property Value

Type Description
string

A string that specifies where to open the target link in any correct format.

#Remarks

// Inserting a new hyperlink to the current cursor position
var args = new ASPxClientHtmlEditorInsertLinkCommandArguments(htmlEditor);
args.target = "_blank";
args.text = "Visit our website";
args.title = "DevExpress";
args.url = "https://www.devexpress.com";
htmlEditor.ExecuteCommand(ASPxClientCommandConsts.INSERTLINK_COMMAND, args);
See Also