I am trying to redirect another site on button click.

Answer Posted / guest

You can also use PostbackUrl property associated with
button control in ASP.NET,
such as : <asp:button id = "b1" PostBackUrl = "www.sify.com"
runat = "server" Text = "redirect"/>

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?

1468


Explain Areas in MVC?

656


Please brief not about xsd,xslt & xml?

546


How you can return View from ASP.NET Web API method?

548


What is server redirect?

551






Securitywise What are the Enhancements in 2.0?

1492


In asp.net, how can you validate drop down box?

586


What are the difference between overriding and overloading?

502


What are the contents of cookie?

575


What are the different types of sessions in asp.net?

493


Which is an advantage of application service providers?

495


Define what is razor? : asp.net mvc

582


Explain the difference between AutoPostBack and IspostBack in ASP.NET?

605


What are the types of authentication in asp.net?

551


How do you design a website with multilingual support in ASP.NET ?

547