firing event on server via javascript

  • Thread starter Thread starter Konrad R.
  • Start date Start date
K

Konrad R.

Hi all

is there any possiblity of doing this ?

for example,i have handler procedure defined in
codebehind :

protected sub proc(sender as object, e as eventargs)
handles ___.____ ???
'code here
end sub

i want to fire this procedure via javascript, and i dont
want to 'form.submit()', i just want run this specific
code defined in handler (what should i place instead of
___.___ then ??)

many thanks in advance
 
I think you're misunderstanding the way that ASP.Net works. HTTP is
stateless. There is NO connection between the client and the server. You can
fire an event on the server from the client, but the only way to do it is to
post the form back to the server.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Complex things are made up of
lots of simple things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top