| Visual Basic (Declaration) | |
|---|---|
Public Property ContentURL As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As WebTabItem Dim value As String instance.ContentURL = value value = instance.ContentURL | |
| C# | |
|---|---|
public string ContentURL {get; set;} | |
When you use IFrame mode in ContentMode, you would need to specify the ContentURL which page you want to load for the designated Tab item.
The ContentURL accepts three formats of URL:
- .NET specific application relative URL. This format starts with "~" character, for instance, "~/FolderA/Page1.aspx".
- Absolute URL. This format starts with "/" character, for instance, "/SharedModule/Page1.aspx".
- Relative URL. This format usually starts with "." character or no special characters (which assume the page can be found in the current folder's context).
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