I have a problem on my .net application and i was wondering if anyone here could help...
I have a linkbutton (which raises a postback) but sometimes the application can take a few seconds to respond (not sure why, but it does, maybe bandwidth??) the problem is that an impatient user could click the button several times, which would raise several postback events on the server.
Asp.Net renders the link button as a standard Anchor tag <A> and populates the Href property with its .net postback functions. This is expected behavior, i cant replace the linkbutton control with a hyperlink control because i loose the ability to bind the server side click event to the button.
can anyone suggest a suitable way forward or a reasonable work around to this little problem?
Thanks in advance
Ho-hum another ****ty day in paradise
Log the time the user clicks in the session, if the click is within a minute of the break out of the block of code. Like use an if ststement so stuff will not go into the data base 2 times. It sounds like the server is under load or something. Might not be the line, might be the processor is under full load or the ram is full because of users or applications running on the server.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)