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 i call the java script to code behind file?if yes how?

Answers were Sorted based on User's Feedback



can i call the java script to code behind file?if yes how?..

Answer / swapna

we can call a javascript function from code behind by using

ScriptManager.RegisterStartupScript(this, GetType(),
UniqueID, "alert('asdf');", true);

Is This Answer Correct ?    17 Yes 1 No

can i call the java script to code behind file?if yes how?..

Answer / .net funda

yes u can do it.
write a javascript inside a string.
call Page.ClientScript.RegisterClientScriptBlock() method.

Is This Answer Correct ?    4 Yes 0 No

can i call the java script to code behind file?if yes how?..

Answer / vivek

using Microsoft ajax library and creating a web method we can call a code behind code using java script.

Is This Answer Correct ?    2 Yes 0 No

can i call the java script to code behind file?if yes how?..

Answer / tejkrishna

yes. for custom validation control's server validate event.

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More ASP.NET Interview Questions

Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?

1 Answers  


Is post back in asp.net?

0 Answers  


What is the use Membership in asp.net? and What is the use profiler in asp.net?

1 Answers  


What is CLR ? Differentiate between CLR & CTS.

7 Answers   3i Infotech, TCS,


what are partial postbacks?

2 Answers   Infosys, Microsoft,


How many web.config files can I have in an application?

0 Answers  


Which is an advantage of application service providers?

0 Answers  


What is difference between Fragment Caching and Page Caching in ASP.NET?

0 Answers   PUCIT,


What is the difference between session state and session variables ?

6 Answers   Digital GlobalSoft,


Write the different features of a Thread and a Process?

0 Answers   Siebel,


how can i inharit multiple classes?

3 Answers  


What is new asp.net core?

0 Answers  


Categories