Nevron .NET Vision Documentation
OpenInNewWindow Property
Example 


Whether or not to open a new window to show the specified URL Page.
Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute("General")>
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.DescriptionAttribute("Whether or not to open a new window to show the specified URL Page.")>
<System.Xml.Serialization.XmlAttributeAttribute()>
Public Property OpenInNewWindow As System.Boolean
'Usage
 
Dim instance As NUrlLinkAttribute
Dim value As System.Boolean
 
instance.OpenInNewWindow = value
 
value = instance.OpenInNewWindow
[System.ComponentModel.Category("General")]
[System.ComponentModel.DefaultValue()]
[System.ComponentModel.Description("Whether or not to open a new window to show the specified URL Page.")]
[System.Xml.Serialization.XmlAttribute()]
public System.bool OpenInNewWindow {get; set;}
Remarks
This property works only when you use the chart in Web forms with a response type of HTML image map. There also must be a specified URL to redirect the browser to. When set to true the browser will open a new window to display the page.
Example
The following code changes the URL and browser and opens a new window when the users clicks on the object.
NChartControl.InteractivityOperations.Add(New NTooltipInteractivityOperation())
            
Dim label As NLabel =  NChartControl.Labels.AddHeader("Click here to see a cool chart") 
label.Interactivity.URL = "http://www.nevron.com"
label.Interactivity.OpenInNewWindow = True
NChartControl.InteractivityOperations.Add(new NTooltipInteractivityOperation());
            
NLabel label = NChartControl.Labels.AddHeader("Click here to see a cool chart");
label.Interactivity.URL = "http://www.nevron.com";
label.Interactivity.OpenInNewWindow = true;
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

NUrlLinkAttribute Class
NUrlLinkAttribute Members

Send Feedback