View Single Post
 
Old February 18th, 2004, 12:02 AM
msrnivas msrnivas is offline
Friend of Wrox
 
Join Date: Sep 2003
Location: , , .
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi planoie

Thanks for your response.I tried its working fine.But while processing the long task its shoing blank screen instead of 'Pl wait message' my code is here.pl help me.

'aspx page code
 <asp:button runat="server" id="cmdProcess" style="display:none;" />

'.vb file code

'this is actually user clicked button
 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim sStartProcess As String
        lbl.Text = "Pl wait"
        sStartProcess = String.Format("<script language=""JavaScript"">document.getElementById("" {0}"").click();</script>", cmdProcess.ClientID)
        RegisterStartupScript("process", sStartProcess)
    End Sub

'processed button
Private Sub cmdProcess_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdProcess.Click

my long code


end sub