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

You need to be able to retrieve data from DataSet object that has four DataTable objects. There are currently UniqueConstraint and ForeignKeyConstraint Object on the DataTable objects to enforce the data rules. You find that you can retrieve the data from the individual DataTable objects, but you are not able to retrieve the data from the combination of DataTable objects in a Parent/Child manner. What should you do to able to retrieve the data in a Parent/Child manner? a) Set the EnforceParentChild parameter of the DataSet to True. b) Set the EnforceRelation parameter of the Relations collection to True. c) Add DataRelation objects to the Relations Collection to make the DataSet present the data in Parent/Child manner. d) Add a primary key and a foreign key to each of the DataTable objects that should present the data in a Parent/Child manner.

1 Answers   Syntax Softtech,


How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?

0 Answers  


what is state management in ASP.NET

2 Answers   MCN Solutions,


What is state management in asp.net and define Client-side state management and Server-side state management?

2 Answers   TVS,


Web API supports which protocol?

0 Answers  


What is the compiled object?

0 Answers   eXensys,


What is the difference between table and query?

0 Answers  


What are the asp.net 2.0 features?

0 Answers  


Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?

3 Answers   Siebel Systems,


What are the differences between primary foreign and unique keys?

0 Answers  


how can i insert array values and retreive in asp.net

3 Answers   TCS, Value Labs,


what is publisher?

0 Answers   Microsoft,


Categories