.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Display Progress Message

Posted By:      Posted Date: October 09, 2010    Points: 0   Category :ASP.Net

I want to display Progress message like

Please wait page is loading..............

How can i achieve this

View Complete Post

More Related Resource Links

How to get SPPageStatusSetter to actually display a status message

I have a event listener running on a list, with several possible conditions.  I want to use the status bar to update the user as a case happens.  I thought, that since the code is a event reciever/listener, that this would be considered server side code, and to make something appear on the status bar, I can use the SPPageStatusSetter.AddStatus method to show the message.  Yet, when I put in the method parameters, nothign  happens. (I did a statusbar= new SPpageStatusSetter(), statusbar.AddStatus("caller", "messgae", Yellow)) What am I missing?  Is this not considered server-side code, and I should use the other mechanism to set the status bar?  or? thanks rsRocky Sanders

Display Message

I want to display message such that when user fill register form, and after compliting all fields a message i.e Record Inserted Successfully. plz help me out....

Locking Page with progress message on postback

I have implemented a lockscreen based on the following articlehttp://www.4guysfromrolla.com/articles/121708-1.aspxIt does work for the most part but there are a couple of scenarios it causes issues and we ended up having to disable it.  Here is one example where it has issues.With a button on a page clicking the button calls the javascript to "lock" the screen with an overlay and show the progress message.In the button click I have the following code Response.ClearContent() Response.ContentType = "application/pdf" Response.AddHeader("content-disposition", "attachment;filename=TestFile.pdf") Response.WriteFile(Server.MapPath("TestFile.pdf")) Response.Write(Date.Now.ToLongDateString() & " " & Date.Now.ToLongTimeString()) Response.End() which will display the file download dialog box which is what I want.  What happens though is that my lock screen stays on in this scenario because with my button click code I'm overriding the response.  Is there an easy way around this?  The only way I have figured out is have my button click write out some javascript to open a new window that calls a .aspx page which has the button click code shown above in it to write out the file or have an invisible iframe on the page and load the .aspx with the button click code shown above.  Any other way ar

How to display a prompt message from gridview_deleting event

Hello, i am following a code example to prompt user before delete and have a reference to the commandfield Delete linkbutton.But something is missing because nothing happen when executed.  Gridview1_Deleting linkBtn.OnClientClick = "return confirm('Are you sure you want to delete this entry?');" end sub <Columns>                        <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />

Error: The replication agent has not logged a progress message in 10 minutes

Hello,      We are consistently getting the error message below on our subscribers that have blob images. Is there a way to increase a setting to avoid SQL to throw this error, or another suggestion? Thanks in advance.   John   Error messages: The replication agent has not logged a progress message in 10 minutes. This might indicate an unresponsive agent or high system activity. Verify that records are being replicated to the destination and that connections to the Subscriber, Publisher, and Distributor are still active.   18 -BcpBatchSize 10000018 -ChangesPerHistory 10018 -DestThreads 218 -DownloadGenerationsPerBatch 518 -DownloadReadChangesPerBatch 10018 -DownloadWriteChangesPerBatch 10018 -FastRowCount 118 -HistoryVerboseLevel 318 -KeepAliveMessageInterval 30018 -LoginTimeout 1518 -MaxBcpThreads 218 -MaxDownloadChanges 018 -MaxUploadChanges 018 -MetadataRetentionCleanup 118 -NumDeadlockRetries 518 -PollingInterval 6018 -QueryTimeout 40018 -SrcThreads 218 -StartQueueTimeout 018 -UploadGenerationsPerBatch 318 -UploadReadChangesPerBatch 10018 -UploadWriteChangesPerBatch 10018 -Validate 018 -ValidateInterval 60   Due to the memory leak issue with respect to replicating blobbed images we have changed UploadGenerationsPerBatch to = 3.

How to display pop up message in SSRS 2005?

Hi Guys, I have two parameters : 1. ReportType (with values - Manager, Supervisor, ALL) 2. EnterID (should enter manually) Normally, the intention of my report is when the user selects ReportType as ALL, they should enter in EnterID as ALL But for some reason, when the user selects ReportType as ALL and he enters the EnterID as value 100 or 200 or some number, the report is showing incorrect results. Now, what I want is When the user selects ReportType as 'ALL'  and if he enters anynumber other than ALL, I would like to see a pop up message displaying saying 'Please type ALL'. Is this Possible?

Display confirm message using javascript after user successful logs in



I need to display a javascript confirm box after the user successfully logs into the application. If the select 'yes'  of the confirm box then I need to navigate them to a different page and if they select 'no' the default.aspx page should be displayed. I am using the login control.

I tried to use ClientScript. RegisterClientScriptBlock on Login1_Authenticate event, it didn't work. I tried the same thing on the Page_Load event of Default.aspx as well as Master Page load event, that also didnt work.

How can this be accomplished? Need a quick resolution.



Message Display Problem



I am facing a  strange problem .i use following code for show successfully message to user.so it is working fine but problem is when I go another page and came back same page again  through  browser back button again successful message display.

For example suppose there are two page i.e one.aspx nad two.aspx.  i  save one.aspx record then message display me that "Record Insert Sucessfully!!" then I go to two.aspx and when I came back again one.aspx by browser back button again same message are display again

please someone help me.

Script for message

ClientScript.RegisterStartupScript(Me.GetType(), "alert", "<script language='javascript'>alert('Record Updated Sucessfully..')</script>")

Use like

Public Sub SAVEDATA()



            MYTRANS = myConnection.BeginTransaction()






Display "Successfully Inserted" Message on the same form/page


I have a page setup that i would like to add a message when the record was successfully inserted. My button event code is as follows:

dac.insertAccessPointintosql(ddlAP, txtIP, ddlAPType, ddlAPFreq, ddlAPBand, txtLoc, txtUser, txtPass);

This works great and inserts, but would like to provide confirmation without having to send to another page.


How do i display a custom message when my ListBox is empty?


I've got a ListBox. Its ItemsSource is Data-Bound to a Dataset.

When there are entries in the Dataset, the ListBox displays them, and it doesn't look so bad.

The ListBox is big, so when its empty it looks weird on the Window.

What i want to do is to display a custom mesasge somewhere inside the listbox(maybe in the center) if there is nothing to display. But i've had no luck sofar.

How could i go about achieving this?

Display a message if query returns no data


I added a text box to my report reading: "No Data Matches Search Criteria".  I tried to add a visibility expression: =iif((Rownumber("SalesCube")=0),1,0)

I get "The Hidden expression usied...returned a data type that is not valid"

What am I doing wrong???


Display Progress bar after button click in asp.net


When I click Submit button in my Registration form it should be open a (div) progress bar Showing processing....  

how to display a progress bar loading in div after Submit button click??

pla tell me,it's very urgent.

Many Thanks in Advance.


Display progress bar after button click in asp.net


hi friends,

When I click Submit button in my Registration form it should be open a (div) progress bar Showing processing....  and background colour should be changed.


how to display a progress bar loading in div after Submit button click??


plsssssss tell me,it's very urgent.

Many Thanks in Advance.

display message if gridview has no row issue


(1) i want to show message if no data row is found in the grid. but my code below does not achieve this. basically if gridview shows data then i want my panel (booking form) to be made visible otherwise hidden. the booking form panel is set to visible false. my else statement is not working...

        protected void btnCheckFlightAvailability_Click(object sender, EventArgs e)
            if (Page.IsPostBack)
                this.gvSingleFlightSearch.DataSourceID = "CheckSingleFlightDataSource";

                if (gvSingleFlightSearch.EmptyDataText != null)
                    pnlFlightAvailableMessage.Visible = true;
                    lblAvailableFlights.Text = "Flight Available";
                    gvSingleFlightSearch.Visible = true;


                        pnlFlightAvailableMessage.Visible = false;
                        lblAvailableFlights.Text = "No Flight Available";
                        gvSingleFlightSearch.Visible = false;

(2) one of the field in my grid view is price while a texbox in my booking form is passenger numbers. how can i use the value entered

Display progress image when page is loading using jquery


hi friends,

When I click Submit button in my Registration form it should be open a (div) progress bar Showing processing.... (or) loading  and block background.


how to display a progress bar loading.... in div after Submit button click??


plsssssss tell me,it's very urgent.

Many Thanks in Advance.

How to display a pop up message in WSS 3?


Hi all,


I have  requirement  to show a pop-up message on button click. It should prompt ok or cancel in that. How can i do that in WSS?




Display message box in SSRS 2008 R2 report


I'm trying to figure out how to display a message box in a ssrs 2008 r2 report. I have custome code that validates a couple of parameters, and I want to display an error message if a user enters an incorrect parameter. I included 'system.windows.forms' as a reference in my report, and tried to use 'system.windows.forms.messagebox.show(errormsg) but I keep getting an error. I created a hidden parameter that references the custom code.

Any help would be greatly appreciated.

Thanks in advance.


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend