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 is a web api? Which protocol is used in a web api?

980


How do I publish my asp.net application to my isp's web server?

1025


What is synchronous and Asynchronous post back ?

1063


What are the authentication types in asp.net?

1011


How to register exception filter globally?

964


How to comment out asp.net tags?

1012


Web API supports which protocol?

1327


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

934


Why SessionID changes in every request in asp.net?

921


Explain how does asp page work?

956


Why asp.net mvc is better than asp.net? : Asp.Net MVC

1038


Is asp.net and .net same?

933


Can we create a multiple user simultaneously ?

1051


Explain the overview of asp.net?

973


Distinguish between Server-side and Client-side code with its functionality?

1075