vbnetcoder
asked on
call javascript from .net code
Is it possible to call .net code from javascript? I want my button click event to launch javascript code contained in my <head> tag.
I there is another way I could better handle this I am open to suggestions
I there is another way I could better handle this I am open to suggestions
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ty
Glad to help you
Raj
Raj
Open in new window
In order to call Test() in page_load event of codebehind file ,I mean Cs /vb file
Open in new window
This will call Javascript from serverside when the corresponding event is fired.
Javascript in codebehind
To Use confirm message directly from codebehind
Open in new window