Issues with buttons.

mike55

Contributor
Joined
Mar 26, 2004
Messages
727
Location
Ireland
I have 4 buttons on a page, when I click on two of the buttons, they react as per normal i.e. they go off do the relevant tasks. However, the other two buttons require that you click them either 2 or 3 times in order for them to proceed. Here is the code for one of the offending buttons:
Code:
    Protected Sub btnRetrieveData_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRetrieveData.Click
        RetrieveData()
    End Sub

Any suggestions?

Mike55.
 
What does RetrieveData do? Is the page working while this routine is running? How about a response.write as the first thing in the sub and then quit.
 
Back
Top