C Carlos May 18, 2005 #1 In C# how do I make a button on the click event to call an url like www.yahoo.com Thanks
K Karl Seguin May 18, 2005 #2 Button_Click Response.Redirect(http://www.yahoo.com) end click Or, you can do it client-side with an top.location = 'http://www.yahoo.com'; Karl -- MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to come!)
Button_Click Response.Redirect(http://www.yahoo.com) end click Or, you can do it client-side with an top.location = 'http://www.yahoo.com'; Karl -- MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to come!)
C Carlos May 18, 2005 #3 Thanks !!! Karl Seguin said: Button_Click Response.Redirect(http://www.yahoo.com) end click Or, you can do it client-side with an top.location = 'http://www.yahoo.com'; Karl -- MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to come!) Click to expand...
Thanks !!! Karl Seguin said: Button_Click Response.Redirect(http://www.yahoo.com) end click Or, you can do it client-side with an top.location = 'http://www.yahoo.com'; Karl -- MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to come!) Click to expand...