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 |
What is a 401 redirect?
14. What are your Future Plans for Swatz Oils GROUP U.K?
0 Answers CSC, Swatz Oils, TCS,
hi im shailendra singh my question is how we deploye the data base
How to kill more than one session variables at a time
How do you implement postback with a text box? What is postback and usestate?
What is windows active directory authentication?
Why viewstate is used in asp.net?
How to configure a website without using IIS.
What is parse in asp.net?
What are the different ways of processing data in ASP page in the server side (like Forms, QueryStrings etc)?
if we establish the cinnection with connection string tag in web.config file,can i go for encrypt and decrypt with that?
How do you create a master page?