Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 18th, 2007, 01:03 AM
Registered User
 
Join Date: Mar 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question For Button.PostBackUrl

I create two Web forms, one form has a button, I set the PostBackUrl = other Web's URL, when clicked the button, it doesn't work, anyone can help me?

 
Old March 18th, 2007, 03:31 AM
Authorized User
 
Join Date: Apr 2006
Posts: 79
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via AIM to anujrathi Send a message via MSN to anujrathi Send a message via Yahoo to anujrathi
Default

pls can u send ur code..
But before that pls check ur code.
<asp:Button ID="button1" PostBackUrl="Page2.aspx" runat="server" />

& please dont write any onclick event..
 
Old March 19th, 2007, 10:24 AM
Registered User
 
Join Date: Mar 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for answering. The code is
<asp:Button ID="buttonSubmit" runat="server" Text="Submit" PostBackUrl="~/ResultPage.aspx" />

But it had not worked yet. May be other problems.






Similar Threads
Thread Thread Starter Forum Replies Last Post
PostBackUrl + OnClick JessyEzzy ASP.NET 2.0 Professional 9 September 21st, 2008 09:13 PM
PostBackUrl to a new window? binici ASP.NET 2.0 Basics 0 January 8th, 2007 07:11 PM
FormView and PostBackURL timeware ASP.NET 2.0 Professional 1 August 11th, 2006 10:22 AM
Submit button question zachus HTML Code Clinic 2 May 27th, 2005 01:38 PM
button question ExxWhyZee Flash (all versions) 2 January 31st, 2004 06:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.