Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we use the java script code in .Net Code behind?

Answer Posted / zikku

yes we can use javascript in code behind.


Define the script block that contains the JavaScript
function. You can add this directly to the HTML of the page.


Insert the script block by the
Page.RegisterStartupScript() or the
Page.RegisterClientScriptBlock() method.

or by using updatepanel by raising an async postback using
JavaScript code

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should i prefer JSP over asp.net or any other web development language..??

1989


Explain the difference between inline and code behind - which is best in?

1001


Explain how can we access static variable?

1131


Can we use a static function with a non-static variable?

959


What is http pipeline in asp.net?

970


What is difference between datalist and gridview?

1076


Who can consume WebAPI?

1004


What do you mean by serialize?

969


What is the use of service provider?

1027


What is asp.net with mvc? : Asp.Net MVC

981


What is web router?

913


Can we handle the error and redirect to some pages using web.config?

1615


What does mvc represent in asp.net? : asp.net mvc

1179


How to find out what version of asp.net I am using on my machine?

1084


How can u debug your .net application?

1065