Personally, I think
http://blogs.crsw.com/mark/articles/642.aspx is one of
the nicest ones out there.
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
news:uN1nPDLAGHA.3872@TK2MSFTNGP12.phx.gbl...[color=blue]
> Use Dave and Al's samples at :
>
http://www.daveandal.net/books/6744/samples.aspx
>
> See the chapter 3 samples.
> The code is available on each sample page.
>
>
>
> Juan T. Llibre
> ASP.NET MVP
> ============
> "Holysmoke" <Holysmoke@discussions.microsoft.com> wrote in message
> news:4100A943-91FC-4160-A0B5-0283896DB3CF@microsoft.com...[color=green]
>> Hi,
>>
>> I have a asp.net form with a button in it.
>>
>> In the onlclick event of button I want to write a function which does
>> some a
>> bit of work with a timespan of 15 seconds. So I want to show a image
>> something like "Work In Progress" when this process is going on and hide
>> it
>> when the work done
>>
>> I do something like this button click event
>>
>> Private Sub butArchive_Click(ByVal sender As System.Object, ByVal e As
>> System.EventArgs) Handles butArchive.Click
>>
>> imgArchiveInProgress.Visible = True 'Icon to show work in progress
>> lblInfo.Text = "Work In Progress" 'Text
>>
>> Response.Flush()
>>
>> System.Threading.Thread.Sleep(15000) 'Simulate work for 15 seconds
>>
>> imgArchiveInProgress.Visible = False
>> lblInfo.Text = ""
>>
>> End Sub
>>
>>
>> It does not work.I have to tried too flush the buffer before start
>> processing but still does n't work?!
>>
>> I appreciate your help,
>>
>> TIA,
>> Holy
>>
>>
>>[/color]
>
>[/color]