.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 13th, 2001, 06:02 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Can two buttons in one form call different aspx pages.

<i><b>Originally posted by : Murtaza (murtaza.hussain@cdac.ernet.in)</b></i><br />Hi,<br /><br />I have 2 buttons in asp+ , with the attribute runat="server". Now in the form tag if i write action = abc.aspx then both the buttons perform the same task. What i want is that on the onclick event of one button script should be executed which i hv written in the same page (this script gets the image from the database) and the other button should call another aspx page where all the form elements should be accesible.<br />Kindly how can i achieve this?<br />Regards,<br /><br />Murtaza.<br /><br />-- <br />Murtaza Hussain<br />CDAC<br />Pune University Campus<br />Ganeshkhind<br />Pune - 411 007<br />Phone: 565 2461/79<br />Extn: 431<br />Email: m_bunts@yahoo.com

Reply With Quote
  #2  
Old June 13th, 2001, 08:39 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Muhammad Kashif Hanif (deepindepth@hotmail.com)</b></i><br />hello!<br /><br />You can use two buttons in a single asp page by putting them in two forms ...then they can do different tasks <br />second method is that put the type = "button" rather than "submitt" of the second button and then put an event of OnClick on that button.<br />try it out<br />take care<br />bye<br /><br /><br />------------<br />Murtaza at 6/13/2001 4:02:15 AM<br /><br />Hi,<br /><br />I have 2 buttons in asp+ , with the attribute runat="server". Now in the form tag if i write action = abc.aspx then both the buttons perform the same task. What i want is that on the onclick event of one button script should be executed which i hv written in the same page (this script gets the image from the database) and the other button should call another aspx page where all the form elements should be accesible.<br />Kindly how can i achieve this?<br />Regards,<br /><br />Murtaza.<br /><br />-- <br />Murtaza Hussain<br />CDAC<br />Pune University Campus<br />Ganeshkhind<br />Pune - 411 007<br />Phone: 565 2461/79<br />Extn: 431<br />Email: m_bunts@yahoo.com

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Can two buttons in one form call different aspx pages.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT