need help disabling a client side button before the server side fires
Posted on 2006-04-06
I have an app that takes variables, passes them to a crystal report, and then exports the end result to a pdf.
I was curious if anyone could tell me if there was a way to fire the server side, but disable a button, or say it is processing on the client side before the server side actually fires.
<asp:button id="Button1" runat="server" Text="Export To PDF"></asp:button>
this is the button. Problem is, if I try to disable the button server side, it doesnt refresh until it already delivers the pdf.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
server side to fire.