CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of location.href
C#
private const string blankTarget = "_blank";
private const string selfTarget = "_self";
 
/// <summary>
/// Open html page specified by Uri in specified target.
/// </summary>
/// <param name="uri"></param>
/// <param name="target">"_blank", "_self", "_top", "_parent", window or frame name.</param>
private static void openHtmlPage(Uri uri, string target) {
        if (String.Equals(target, selfTarget)) {
2039 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate