How to call a java Function from WebForm Button control?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Using VB.NET how can I call a java Function from WebForm Button control? Any
example code:?
 
Hi,

You can try:

Button1.Attributes.Add("onclick", "JavaFunction(); return false;");

The "return false;" will keep the form from posting back to the server.
Good luck! Ken.
 
If you mean Java and not Javascript, then you can do an Http Post
using HttpWebRequest to a JSP or servlet. Let me know if you meant
java and then we can take it from there.

sayed
 

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