call client side function in server side function in asp.net
-
Hi All, I have a image button. I would like to call client side function as well as server side function in same button in same time. remember I don't want to call any javascript confirmation. Need yours advice....
vnsraj wrote:
I would like to call client side function
vnsraj wrote:
remember I don't want to call any javascript confirmation.
You just can't do it. You CAN call client side methods BEFORE calling the server, but, by definition, it has to be javascript. What else could it be ? Do you know what it is you're asking ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Hi All, I have a image button. I would like to call client side function as well as server side function in same button in same time. remember I don't want to call any javascript confirmation. Need yours advice....
vnsraj wrote:
remember I don't want to call any javascript confirmation.
what you mean exactly? Your question is not clear.:confused: BTW use
OnClientClick
for adding client method andOnClick
for server side code.Arun Jacob http://codepronet.blogspot.com/
-
vnsraj wrote:
remember I don't want to call any javascript confirmation.
what you mean exactly? Your question is not clear.:confused: BTW use
OnClientClick
for adding client method andOnClick
for server side code.Arun Jacob http://codepronet.blogspot.com/
-
I have a image button, I want to called a server side function in image button onclick function on same time I want to called a javascript function.
Its possible to inject javascript snippets using
ScriptManager.RegisterStartupScript
. Why you want 2 do that?Actually vat u r trying 2 achieve?:confused:Arun Jacob http://codepronet.blogspot.com/