Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > clicking linkbuttons really fast...zoom..

Thread Tools

clicking linkbuttons really fast...zoom..

Posts: n/a
I have an interesting problem. I have a page with 5 different linkbuttons
and 5 different panels. The appropriate panel is displayed when one of the
linkbuttons are clicked. The code-behind runs some stored procedures to
populate the page.

It works perfectly, except when I start clicking the buttons really fast.
(of course, this probably will never happen, but I was bored at my desk
after our Holiday party on Friday and just started clicking away....)
After several clicks, the screen froze for a few seconds and I get this
error in my business object:

Object reference not set to an instance of an object.

Line 1784: Finally
Line 1785: If connection.State = ConnectionState.Open Then
Line 1786: connection.Close()
Line 1787: End If

My connection variable "connection" does not seem to contain the connection

Any ideas why this occurs??? What does .Net do with the current instance
of the page if it is running, then interrupted by another post?

Thank you in advance,


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why calling Button_Click() behaves differently from really clicking the button? charles ASP .Net 3 03-15-2006 02:47 PM
I want to be able to access the internet by opening my browser and not right clicking and then clicking connect. James Johnson Computer Support 1 05-15-2004 03:40 AM
LoadPostData and LinkButtons Lucas Tam ASP .Net 0 08-18-2003 12:57 PM
Re: LinkButtons and MouseOver Vidar Petursson ASP .Net 1 07-09-2003 07:10 AM
Re: Dynamic Table with Dynamic LinkButtons Rick Glos ASP .Net 0 07-08-2003 01:09 PM