GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  Programming  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 180 of 264    Print  
how do you call java script in web forms ex. you develop one web form in that
you using java script in that java script how you will call in web forms.

  
Total Answers and Comments: 2 Last Update: September 18, 2007     Asked by: swarna 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 14, 2007 04:18:34   #1  
chandramohan_a Member Since: February 2007   Contribution: 6    

RE: how do you call java script in web forms ex. you ...
Javascript APIs can be called from Web Form, when a web form event get triggered. To call a javascript method on a Server control , the javascript method needs to be associated with a specific server control event in the code behind.eg:Button1.Attributes.Add("onclick","javascriptValidate();");To call a javascript method on a html control, the javascript method needs to be associated with a specific html control event in the desin-html view.Hope this helps
 
Is this answer useful? Yes | No
September 18, 2007 03:10:44   #2  
kiran kumar        

RE: how do you call java script in web forms ex. you ...
No its not working if i am writing the method it is simply printing method in html screen
 
Is this answer useful? Yes | No

 Related Questions

Skill/Topic: BeginnerA) Java Virtual MachineB) Common Language RuntimeC) Windows explorer 
Latest Answer : Common Language Runtime ...

The best way to delimit ASP.Net code from HTML code in your pages is by using --------------- tags.
Skill/Topic: BeginnerA) < Body >B) < Head >C) < Script > 

The code will be processed on web server when the runat attribute of the < Script > tag has the following value.
Skill/Topic: BeginnerA) DesktopB) ClientC) Server 

Skill/Topic: BeginnerA) WinformsB) HTMLFormsC) Webforms 
Latest Answer : webforms ...

Skill/Topic: BeginnerA) FORM ACTION="actiopage.aspx" RUNAT="server" method="post"B) FORM ACTION="actiopage.aspx" method="post"C) FORM id="Form1" 
Latest Answer : Hi Dears,This is correct FORM ACTION="actiopage.aspx" RUNAT="server" method="post" ...

Skill/Topic: BeginnerA) TagPrefixB) Name space of the dll that is referencedC) AssemblynameD) All of the above 
Latest Answer : All of the above ...

Skill/Topic: BeginnerA) HTTPB) SOAPC) TCPD) SMTP 
Latest Answer : HTTP ...

Skill/Topic: IntermediateA) 2B) 3C) 1D) More than 3 
Latest Answer : If the runat="server" attribute is included, in that case only one form is possible as it becomes a server control. ...

Skill/Topic: IntermediateA) YesB) No 
Latest Answer : Yas ...

Skill/Topic: IntermediateA) Application StateB) Hidden Form FieldC) QuerystateD) Cookies 
Latest Answer : Hai,THis Is Balaji we have  Query String as State Management OPtion .with regards,Balaji(Microsoft R&D). ...


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

How does the function call within function get evaluated?

Whenever we have more than one function which is called for a finite number of times then such a function gets evaluated from inside out. Let us understand this concept with an example. For instance consider a function sample called within it 4 times as given in program below: main() { int a=50;
 

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern &quot;C&quot; &lt;function declaration&gt; for example to call C functions from C++ we can write extern &quot;C&quot; { &lt;function declaration&gt; &lt;function declaration&gt; ...
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(&ldquo;x=%d y=%d&rdquo;,x,
 

How to develop compile and run a C program

The steps involved in building a C program are: 1. First program is created by using any text editor and the file is stored with extension as .c 2. Next the program is compiled. There are many compilers available&nbsp;like GNU C compiler called as gcc, Sun compiler, Borland compiler which is pop
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school&rsquo;s al
 

Recording Test Script With WinRunner

How To Use a Wizard to Record a Test Script With WinRunner If you have a script that you want to convert with WinRunner, you can use the DataDriver Wizard to transform the script into a test that is driven by data. For instance, if you want your test script to include things such as checkpoints or v
 

WinRunner Script Design Tips

Scripts play an important role in the function of WinRunner. Those who wish to successful with this program will need to learn how to properly create scripts. In this article, I will provide you with a number of useful tips for script creation. The first tip of script development is to always place
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape