ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP 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 April 13th, 2000, 02:18 PM
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
Calling Functions

<i><b>Originally posted by : NILESH SHAH (ShahN@Nabisco.com)</b></i><br />On my ASP I have a Button Object. When I click the button i call cmdSave_OnClick procedure, which in turn calls function testing which is intended to be ran on Server.<br /><br />The Code is included below.<br /><br />It gives me Error:Type Mismatch:'testing'<br /><br />Can Somebody please help me <br /><br />Thanks <br /><br /><script language="VBScript" runat = "Server"><br />function testing(x)<br /> alert(x)<br />end function<br /><br /></script><br /><br /><br /><script language="VBScript"><br /><br />sub cmdSave_onClick()<br /> Dim x<br /> x = 1<br /> call testing(x)<br />end sub<br /></script><br />

Reply With Quote
  #2  
Old April 19th, 2000, 11:29 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 : C R Balaji (crbalaji@hotmail.com)</b></i><br />Hi Nilesh,<br /><br />U cannot do what u are trying to do because the <br />function which is running at the server will not be available at the client, to attain something like this u have to keep a form and submit it to an asp then run the function from there, and u cannot have user interface elements like msgbox or alert or input box in the (SCS)server side scripting !because SCS run in the server and the client is not on the server to answer an alert or so<br /><br />Bye<br /><br /><br /><br />------------<br />NILESH SHAH at 4/13/2000 11:18:49 AM<br /><br />On my ASP I have a Button Object. When I click the button i call cmdSave_OnClick procedure, which in turn calls function testing which is intended to be ran on Server.<br /><br />The Code is included below.<br /><br />It gives me Error:Type Mismatch:'testing'<br /><br />Can Somebody please help me <br /><br />Thanks <br /><br /><script language="VBScript" runat = "Server"><br />function testing(x)<br /> alert(x)<br />end function<br /><br /></script><br /><br /><br /><script language="VBScript"><br /><br />sub cmdSave_onClick()<br /> Dim x<br /> x = 1<br /> call testing(x)<br />end sub<br /></script><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Calling Functions


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



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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





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