You could use window.open
. Like this:
protected void btnNewEntry_Click(object sender, EventArgs e)
{
Page.ClientScript.RegisterStartupScript(
this.GetType(),"OpenWindow","window.open('YourURL','_newtab');",true);
}
More Related Contents:
- Redirect URL (ASP.NET)
- Response.Redirect with POST instead of Get?
- How do you modify the web.config appSettings at runtime?
- Comet implementation for ASP.NET? [closed]
- How to stop ASP.NET from changing IDs in order to use jQuery
- TLS 1.2 in .NET Framework 4.0
- Asp.Net Forms Authentication when using iPhone UIWebView
- What is default hash algorithm that ASP.NET membership uses?
- How to add validation to my POCO(template) classes
- ASP.NET MS11-100: how can I change the limit on the maximum number of posted form values?
- CORS support for PUT and DELETE with ASP.NET Web API
- How to deploy an ASP.NET Application with zero downtime
- List all active ASP.NET Sessions
- New Asp.Net MVC5 project produces an infinite loop to login page
- NameValueCollection to URL Query?
- ASP.NET Push Redirect on Session Timeout
- JQuery’s $ is in conflict with that of StringTemplate.Net in ASP.Net MVC
- How do I fix 404.17 error on Win Server 2k8 and IIS7
- How to display image which is stored in local drive?
- jqgrid add row and send data to webservice for insert
- How can I get gzip compression in IIS7 working?
- Entity framework context as static
- How to login and then download a file from aspx web pages with R
- Email Address Validation for ASP.NET
- “This operation requires IIS integrated pipeline mode.”
- How to get the current view name in asp.net MVC 3?
- Forms authentication: disable redirect to the login page
- I am getting a blank page while deploying MVC application on IIS
- ASP.NET core 2.1 session
- How to use gmail SMTP in ASP.NET form