Article
    C#
    ADO.Net
    .NET
    ASP.Net & Web Forms
    Custom Controls
    Web Development
    Exception Handling
    XML
    Database
    Security in .Net
    Testing
    Web Services
    Windows Services
    Windows Controls
    WCF
    AJAX
    WPF
    XAML
    Reporting
    Setup
    VB.Net
    LINQ
    JQuery
    SilverLight
    JavaScript
    HTML5
    Crystal Report
    Cloud Computing
    Share Point
    Visual C++
    MVC
    Android
    PHP
    Java
    HTML
    WordPress
    Joomla
    Products
    Drupal
    Windows Phone
    JSON
    LightSwitch
    iPhone/iPad
    Ruby on Rails
    IIS 7
    Windows 8
    CSS/CSS3
    Excel
    MS Access
    Shortcut Keys
    Visual SourceSafe
    Team Foundation Server
    APIs
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Top Contributor
Advertisement
Advertise with Us
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog

Home >> ASP.Net & Web Forms >> Introduction to Open New Browser Window using C#.Net
Introduction to Open New Browser Window using C#.Net
Introduction to Open New Browser Window using C#.Net


by mohan kumar on 5/2/2012 7:53:06 PM

Views: 2416       Comments: 3

Introduction to Open New Browser Window using C#.Net

If you want to open new browser window then you can use this code.

<
asp:Button ID="ButtonView" OnClick="ButtonView_Click" runat="server" Text="View" Width="80px" />

protected void ButtonView_Click(object sender, EventArgs e)

{

    string Fullurl = "newpage.aspx/";   

    OpenNewBrowserWindow(Fullurl, this);

}

 

 

//This is used to open new browser window

public static void OpenNewBrowserWindow(string Url, Control control)

{

    ScriptManager.RegisterStartupScript(control, control.GetType(), "Open", "window.open('" + Url + "');", true);

}

 

 

 

Report Abuse Form
Reason:    
 


What is TFS AND what are the addvatages of this?
by anil babu 9/2/2012 10:09:36 PM

What is TFS AND what are the addvatages of this?

Tell me how to TFS Installation and configuration?

I am USING VISUAL STUDIO 2010 Ultimate

OS:WIndows web server 2008 R2

Report Abuse

Please comment according to the content in the article.
by Haider M Rizvi 9/3/2012 3:04:25 AM

Anil Babu, you should ask or comment according to the content of the article where you are commenting.

For asking question you can use our forum section and do google it before asking questions. This is not a class room where you can ask any question infact we are here to solve your problem if you are stuck some where in your work.

Please don't ask such type of questions again otherwise we have to block you from posting any comment.

Thanks

Report Abuse

sorry for this
by anil babu 9/3/2012 3:42:14 AM
Sorry,Thanks for advice..........
Report Abuse
Title :
Comment :
Text ColorBackground Color
BoldItalicUnderline
LeftCenterRightJustify
Ordered ListBulleted List
IndentOutdent
Horizontal Rule
SubscriptSuperscript
HyperlinkImage
Design ModeDesign
View HtmlHtml
     
 
Latest Article by mohan kumarRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Latest BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Top Viewed ArticlesRSS Feed
    
    
    
    
    
    
    
    
    
    
Top Viewed BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
Latest Interview QuestionsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Total Online Users: 6267
Advertisement
MindStick SurveyManager
Advertise with Us
  
Copyright © 2009 - 2013MindStick. All Rights Reserved.