Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2003

Tip: Looking for answers? Try searching our database.

Java applet animation stops on form click event in asp.net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
George - 30 Sep 2003 21:40 GMT
I'm programming in ASP.net and I'm using a cute little java applet on
one of my web pages.  I have three buttons on my web page form.

The problem is whenever the user clicks one of these buttons, the
applet stops running and goes blank.

Is there a way to protect the applet so it's not affected by any of
the user actions on the form?

I know it's probably something simple, but I'm rather new to web
programming.

Any help is greatly appreciated.  Thank you.
Jay B - 02 Oct 2003 00:19 GMT
What you're probably seeing is a button Post-Back causing
the page to reload itself, and resetting the java applet
contained on the page.

If you don't want to use server-side postback events,
you'll need to add your own client side events to deal
with button clicks, etc.

You could also try to put the java applet in its own
frame, so server side events could be used without causing
the applet to reset.

Jay B

>-----Original Message-----
>I'm programming in ASP.net and I'm using a cute little java applet on
[quoted text clipped - 11 lines]
>Any help is greatly appreciated.  Thank you.
>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.