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 the difference between Postback and Ispostback Property?
7 Answers Atrocity Apps Technologies, DC Infotech, HCL, Maples, Visual Soft,
What does session_start () do?
What is Bundling and Minification in MVC?
What is session tracking & methods?
Explain weak typing and strong typing.
What are standard controls?
What is client side state management?
I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?
What is asp.net file?
Should I delete cookies?
Trigger syntax in sql2000
Describe session handling in a webfarm, how does it work and what are the limits?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)