Click here to Skip to main content
16,006,531 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Displaying a Loading Page Pin
ONeil Tomlinson24-Aug-06 0:28
ONeil Tomlinson24-Aug-06 0:28 
GeneralRe: Displaying a Loading Page Pin
_AK_24-Aug-06 1:26
_AK_24-Aug-06 1:26 
AnswerRe: Displaying a Loading Page Pin
minhpc_bk24-Aug-06 20:04
minhpc_bk24-Aug-06 20:04 
GeneralRe: Displaying a Loading Page Pin
ONeil Tomlinson24-Aug-06 22:44
ONeil Tomlinson24-Aug-06 22:44 
GeneralRe: Displaying a Loading Page Pin
minhpc_bk24-Aug-06 23:09
minhpc_bk24-Aug-06 23:09 
GeneralRe: Displaying a Loading Page Pin
ONeil Tomlinson24-Aug-06 23:05
ONeil Tomlinson24-Aug-06 23:05 
GeneralRe: Displaying a Loading Page [modified] Pin
_AK_24-Aug-06 23:17
_AK_24-Aug-06 23:17 
GeneralRe: Displaying a Loading Page Pin
minhpc_bk24-Aug-06 23:23
minhpc_bk24-Aug-06 23:23 
I'm not a truly VBer, but the sample code looks something like:
 Public Class BasePage
    Inherits Page
              
    Protected Overrides Sub OnPreInit(ByVal e As System.EventArgs)
        Response.Write("<div id='divWait'> Please wait while the page is loading ...</div>")
        Response.Flush()
                    
        MyBase.OnPreInit(e)
    End Sub
                
    Protected Overrides Sub OnPreRender(ByVal e As System.EventArgs)
        Response.Write("<script>divWait.innerText='';</script>")
        Response.Flush()
               
        MyBase.OnPreRender(e)
    End Sub
End Class

The point here is that you send a message to the client side before the web page is processed and you want to hide it when the web page is ready to output the result markup.
GeneralRe: Displaying a Loading Page Pin
ONeil Tomlinson24-Aug-06 23:39
ONeil Tomlinson24-Aug-06 23:39 
GeneralRe: Displaying a Loading Page Pin
minhpc_bk24-Aug-06 23:55
minhpc_bk24-Aug-06 23:55 
GeneralRe: Displaying a Loading Page Pin
ONeil Tomlinson25-Aug-06 1:49
ONeil Tomlinson25-Aug-06 1:49 
GeneralRe: Displaying a Loading Page Pin
minhpc_bk25-Aug-06 11:45
minhpc_bk25-Aug-06 11:45 
QuestionEdit ,Delete Button in GridView [modified] Pin
Kartik Rathi23-Aug-06 23:27
Kartik Rathi23-Aug-06 23:27 
AnswerRe: Edit ,Delete Button in GridView Pin
_AK_23-Aug-06 23:48
_AK_23-Aug-06 23:48 
GeneralRe: Edit ,Delete Button in GridView Pin
Kartik Rathi24-Aug-06 1:48
Kartik Rathi24-Aug-06 1:48 
GeneralRe: Edit ,Delete Button in GridView Pin
Naveed Kamboh25-Aug-06 1:49
Naveed Kamboh25-Aug-06 1:49 
GeneralRe: Edit ,Delete Button in GridView Pin
Kartik Rathi25-Aug-06 3:11
Kartik Rathi25-Aug-06 3:11 
Questionpage change and sort in gridview Pin
porsche996turbo23-Aug-06 23:18
porsche996turbo23-Aug-06 23:18 
AnswerRe: page change and sort in gridview Pin
Kartik Rathi24-Aug-06 1:46
Kartik Rathi24-Aug-06 1:46 
GeneralRe: page change and sort in gridview [modified] Pin
porsche996turbo24-Aug-06 15:08
porsche996turbo24-Aug-06 15:08 
GeneralRe: page change and sort in gridview Pin
Kartik Rathi24-Aug-06 20:59
Kartik Rathi24-Aug-06 20:59 
QuestionDatagrid Paging problem............ Pin
Nagraj Naik23-Aug-06 23:02
Nagraj Naik23-Aug-06 23:02 
QuestionControl causing postback? Pin
TintinV3ck23-Aug-06 22:56
TintinV3ck23-Aug-06 22:56 
AnswerRe: Control causing postback? Pin
Mircea Grelus23-Aug-06 23:47
Mircea Grelus23-Aug-06 23:47 
GeneralRe: Control causing postback? Pin
TintinV3ck24-Aug-06 0:15
TintinV3ck24-Aug-06 0:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.