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

How to bind all the binding controls in a page at once in ASP.NET?

1008


What are the components of ado.net?

997


How would ASP and ASP.NET applications run at the same time on the same server?

2562


What is user control in asp.net?

1140


Explain the purpose of storyboard.targetproperty.

986


How would you enable impersonation in the web.config file?

1046


What is cookieless session id explain in brief?

1093


What are the various types of cookies in asp.net?

1070


What are the validation controls available in ASP.NET?

1050


What are the asp.net 2.0 features?

1046


What is routing in MVC?

1075


Where you store Connection string in "Web.Config" file in ASP.NET?

1104


Apart from IDE what are the enhancements in asp.net 2.0?

2158


What is the life cycle of web page?

1000


What is session authentication?

1034