can i call the java script to code behind file?if yes how?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / tejkrishna
yes. for custom validation control's server validate event.
Is This Answer Correct ? | 1 Yes | 5 No |
In my code i have 3 tables,i have to insert 3 tables data using single insert query so that i wrote transations in a sp.but what my problem is,in those 3 tables i have to include my empId from another table.when i'm passing values im getting error at this EmpId. how can i solve this error to execute insert query? plesae tell me the solution...
How to migrate from sqlserver 2005 to sql server 2000 (every one know reverse process of that )
What is rending process in ASP.NET?
0 Answers Sans Pareil IT Services,
How to use class library reference in asp.net project? Can you give me the example with source Class library haves classes like Database, insert, update, delete, reflection how can i use the database class connection in insert class to insert the record in to the Main Project in asp.net.
What are session state modes? List some of the important session state modes of asp.net.
Can user control be stored in library?
What does a switch do?
What is the difference between the get method () and post method ()?
What are the different types of proxy patterns?
How would one do a deep copy in .NET?
Explain file-based dependency and key-based dependency.
Can we make a class with class with same;suppose public class abc { public class abc { } }