.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 March 4th, 2002, 08:22 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: 23
passing values from clientside to serverside

<i><b>Originally posted by : Jonathan (jonathan.6.smith@bt.com)</b></i><br />i have an ASP which prompts the user to insert details into a form. once the form is filled in the user presses a button and the details are inserted into a an array (no URL redirection). the user then has the opportunity to insert another record (upto 25 records max). what i want is to validate one of the text box values with a database table. I want to perform this validation when the user clicks the button before the value is inserted to the array. if the value entered in the text box is present in the database the value is entered into the array, if the value is NOT in the database i would like to output a prompt. To do this i CAN perform the database search, I was WANTING to know how to call the ASP(server side) when a HTML(client side) button is clicked WITHOUT using a form AND how to get the textbox value(client side) to insert into a SQL query(server side)<br /><br />ie. <br />client side HTML button is pressed & client side HTML value passed to -> ASP server side record set to check in the database - without reloading the page or using forms<br /><br />I would be very greatful for any assistance<br /><br />thanks<br />

Reply With Quote
  #2  
Old March 12th, 2002, 10:32 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: 23
<i><b>Originally posted by : zack (zack_attack190@yahoo.com)</b></i><br />To do what you are asking for you need to use <br />Remote Scripting in ASP. It has some over head and<br />it will slow things down a bit it also requires<br />extra coding.<br /><br />If you go to MSDN and search for Remote Scripting<br />you will find what you need. Most examples are in JavaScript, but it can be done in VBScript as well.<br /><br />Debugging is not straight forward, so you should test the page that holds the server side script,<br />before you try to call it from the client. <br /><br />Good Luck,<br />Zack

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > passing values from clientside to serverside


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