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

What are the events that happen when a client requests an asp.net page from iis server?

956


How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC

842


What is postback and autopostback in asp.net?

975


Explain what is an abstract class?

976


How do I force the dispose method to be called automatically, as clients can forget to call dispose method?

885


What is difference between URL and URI?

1065


Explain what is postback in asp. Net?

1029


while developing webservices if i want some users to use my webservice only how can i give security to my webservice?

1807


What is the purpose of asp.net?

963


What is server side routing?

886


What is jade template engine?

1004


What is server redirect?

952


What is rending process in ASP.NET?

1034


What is a session http?

876


How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?

4147