Deleting progress message when click of a button

hi,
similar to the image shown below, can i  use this progress message - liek deleting - inserting- in progress- on top right corner just below mty custom master page.Would like to how to achieve this progress / status message using SP API. if
i wnat to use this ona  click of a button in my custom visual web part, whats the API to be used. 
thnx.

HI,
You can use "SPLongOperation", please check the below references for more info..
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/b5f8620d-a1dc-4c79-9141-be3e153903ed/progress-bar-in-sharepoint-2010-web-part
http://howtosharepoint.blogspot.in/2010/04/how-to-programatically-show-processing.html
or
use below approach...
http://blog.mastykarz.nl/sharepoint-2010-ui-tip-non-obtrusive-progress-messages/
Don't forget to mark it as an Answer if it resolves your issue and Vote Me as helpful if it useful.
Mahesh

Similar Messages

  • How to maintain dynamic rows with data when click on Previous button?

    Hi,
    I have 1 aspx page and divided into 3 pages using panels.Each panel has "Next" and Previous buttons
    I have created and deleted dynamic table rows when click on Add button using javascript. whenever i click on Next button it will navigate to same page of next panel.
    when i click on previous button then it goes to previous panel but whatever i have added dynamic table rows in 1st panel that got removed.
    Can u please help me for how to maintain state of dynamic table rows with entered data when click on Previous button?
    How to get dynamic table rows with entered data in previous panel when click on Previous button?
    Please find the below javascript code:
    function insertRow() {
    if (index >= 2) {
    document.getElementById('deleteRow').style.display = "inline";
    else { document.getElementById('DeleteRow').style.display = "none"; }
    var table = document.getElementById("myTable");
    var row = table.insertRow(table.rows.length);
    cell1 = row.insertCell(0);
    t1 = document.createElement("select");
    t1.options[t1.options.length] = new Option('--Select--', '0');
    t1.id = "ddlYear" + index;
    cell1.appendChild(t1);
    for (var i = 1975; i <= 2015; i++) {
    opt = document.createElement("option");
    opt.value = i;
    opt.text = i;
    t1.add(opt);
    t1.style.width = "155px";
    var cell2 = row.insertCell(1);
    t2 = document.createElement("Select");
    t2.options[t2.options.length]=new Option('--Select--','0');
    t2.options[t2.options.length]=new Option('State Board','1');
    t2.options[t2.options.length]=new Option('CBSE','2');
    t2.options[t2.options.length]=new Option('ICSE','3');
    t2.options[t2.options.length] = new Option('Others', '4');
    t2.style.width = "155px";
    t2.id = "ddlCourse" + index;
    cell2.appendChild(t2);
    var cell3 = row.insertCell(2);
    t3 = document.createElement("input");
    t3.id = "txtCity" + index;
    cell3.appendChild(t3);
    var cell4 = row.insertCell(3);
    t4 = document.createElement("input");
    t4.id = "txtInstitute" + index;
    cell4.appendChild(t4);
    var cell5 = row.insertCell(4);
    t5 = document.createElement("Select");
    t5.options[t5.options.length] = new Option('--Select--', '0');
    t5.options[t5.options.length] = new Option('English', '1');
    t5.options[t5.options.length] = new Option('Hindi', '2');
    t5.options[t5.options.length] = new Option('Telugu', '3');
    t5.options[t5.options.length] = new Option('Others', '4');
    t5.style.width = "155px";
    t5.id = "ddlMedium" + index;
    cell5.appendChild(t5);
    var cell6 = row.insertCell(5);
    t6 = document.createElement("input");
    t6.id = "txtSpecialization" + index;
    cell6.appendChild(t6);
    var cell7 = row.insertCell(6);
    t7 = document.createElement("input");
    t7.id = "txtFnl" + index;
    cell7.appendChild(t7);
    index++;
    function DeleteRow(index) {
    var table = document.getElementById("myTable");
    table.deleteRow(index);
    // if (index = 2) { alert("There is no rows added.Please add the new row"); }
    Design:
    <tr style="font-size: 12pt" id="trSecond" runat="server">
    <td colspan="3">
    <table id="myTable" width="100%" border="0">
    </table>
    <tr>
    <td colspan="3" align="right">
    <input type="button" title="Add" value="Add" onclick="insertRow();" />
    <input type="button" id="deleteRow" title="Delete" value="Delete Row" onclick="DeleteRow(this);" style="display:none" />
    </td>
    </tr>
    Thank you.

    Put the button click into an action listener and build the new frame there. The code I have below isn't exactly what you're doing (it's amazingly oversimplified), but it's probably similar enough to get your wheels turning in the right direction.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class sample
         public static void main(String[] args)
              JFrame frame = new JFrame("Sample");
              frame.setSize(400,400);
              Container content = frame.getContentPane();
              content.setLayout(new FlowLayout());
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              final JTextField text = new JTextField(10);
              content.add(text);
              JButton button = new JButton("Send");
              content.add(button);
              frame.setVisible(true);
              button.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        JFrame myframe = new JFrame("Results");
                        myframe.setSize(200,200);
                        Container mycontent = myframe.getContentPane();
                        mycontent.setLayout(new FlowLayout());
                        String mytext = text.getText();
                        JLabel label = new JLabel();
                        label.setText(String.valueOf(mytext));
                        mycontent.add(label);
                        myframe.setVisible(true);
    }

  • HT201401 i have a birthday showing in my calendar listed as an all day event and it is incorrect how can I delete it. When clicked on does not bring up the edit feature. The vodaphone shop thinks it has synced with my facebook app.

    i have a birthday showing in my calendar listed as an all day event and it is incorrect how can I delete it. When clicked on does not bring up the edit feature. The vodaphone shop thinks it has synced with my facebook app.

    hello, the addons manager is exactly the right place to look for it. please try disabling the addons that are listed there one-by-one (a restart of the browser might be necessary after each step). maybe one of them is bundling this kind of adware.
    [[Disable or remove Add-ons]]

  • IPhoto 6.0.5 crashes when clicking the Edit button

    On some of my albums....not all of them.... When clicking the Edit button or double clicking one of the photos in that album, to make it bigger so you can use the arrows to move throught the pictures, iPhoto crashes.
    It does this every time with certain albums. They are all jpeg, and the ones that are crashing worked fine before this last upgrade of iPhoto. Is there a known problem with this? I have looked around and seems as though people have had some problems similar to this but not exaclty the same.
    Is there something that can be done that I don't know about to remedy this?
    Any and all help/suggestions would be much appreciated.
    Thanks

    Scott:
    It may be a color profile issue. Download the Automator workflow "Embed sRGB Profile" file from Toad's Cellar and unzip it. Then export one of the problem files to the desktop and drop on the workflow application. Then import the file and see if it will edit OK. If so you can find the files in the Originals folder that are giving you problems and drag them onto the workflow application file. BUT, just in case make a temp backup copy of the iPHoto Library folder beforehand.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

  • Running abap reports in the background when clicked on Webdynpro Button

    Hi Experts,
    I have requirement where when clicked on a Button in a Webdynpro application, it needs to run an abap reports in the background and I need to pass some parameters to the report.
    Is it possible to do that? if yes, please guide me though.
    Reward points for useful tips.
    Sabbir
    Edited by: Sabbir Ahmed on Oct 17, 2008 8:05 AM
    Edited by: Armin Reichert on Oct 24, 2008 10:05 AM

    you can use rfc's model  for this na?
    pass the parameters to the RFC and through that RFC run the report,
    with regards
    shanto aloor.

  • Opening a Support document when clicked on a button in Webdynpro-ABAP.

    Hi All,
    We have a requirement that when clicking on a button it should open a file which has file name stored in a table. How to make this possible.
    The path of the file should not be hardcoded, since the user can change the file and its name anytime, he will just update the name in that table. Our report has to fetch that exact file.
    Please help me in this.
    Thanks,
    Selvakumar M.

    Hi Radhika,
    We will be having the file stored in the common shared path, file may be of either .Pdf or .doc.
    I have not used the file upload option before, so i am not sure about it.
    But my requirement is not upload, it has to open a file from a path. Sorry if i mistook the meaning of the file upload option.
    Thanks for quick turnaround.
    Selva M.

  • Message on clicks on standard button of alv in webdynpro

    Hi experts,
    I want to show message on clicks on standard button of alv in webdynpro.

    Hi Rohit..
    Also check this...
    http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproABAP-ALVControllingStandard+Buttons
    Cheers,
    Kris.

  • Session Expired message when click on page menus

    Hi,
    I am getting session expired message when click on page menus. I am getting an error saying that "page you are trying to access is no longer active". Please help me in this.
    Thanks

    When you display the results of you search, is your Servlet writing the HTML out to the screen or is a JSP doing the display?
    If the Servlet is doing the work, and you POST to it, you will get that message everytime in IE, and you will get a "repost data?" popup in Netscape. That is because POST data comes up once on the request, and Netscape (i think) is the only browser that remembers the POSTed parameters. You should be able to quick fix this by changing the initial communication with the Servlet to a GET -OR- by having JSPs do the display of the results.
    Let me know if you need further help or explaination.
    Yoda

  • I want to do banners ,how can we do  when click the same button (next button)  it must show differen

    i want to do banners ,how can we do  when click the same button (next button)  it must show different images . cam any one help

    Check out my blog with samples on Edgehero.
    http://www.edgehero.com/articles/interactivity

  • Is there any function or way to get a text when clicked on a button

    Hi all,
    I need to get a file name when clicked on a button at user-command(just after the selection ends and the output came, there are some buttons on the screen).
    Any function, thanks.

    If you want user to supply a file name, you should popup a file selection dialog box. Depending on where the file might reside, use one of the following function modules.
    F4_FILENAME      
    F4_FILENAME_SERVER

  • I run DeviceDemo sample to send email, when click send email button after f

    I run DeviceDemo sample to send email, when click send email button after filling all fields, it took me to EverNote application, can not send email. does anyone has this kind experience? how to fix it?

    Hi,
    ADF Mobile cannot directly send emails as this is a security precaution of your mobile phone (imagine all applications could send mails without you confirming). Instead the send mail functionality launches the mail client you have configured and fill in the information you provided in the application. The mail function by the way is implemented through Cordova.
    Frank

  • Mail 5.3 is deleting multiple messages when I click the trash button only once!  Is there a fix for this bug?

    Hi,
      Any help appreciated!  I recently ungraded to OSX 10.7.5 (Lion) and ever since, I am having trouble with my mail that I did not have before.  When I am going through messages and I use the trash button, it sometimes deletes multiple messages that I have not even opened or read yet.  I only click the button once.  Any ideas how to correct this?
    Thank you!

    Thank you. I figured it out right before I heard from you.  Running the OCR before the redaction made it work correctly.
    Thank you so much for taking the time to answer my question.
    Make it a great day.
    BG10

  • When clicking the back button on some website I get a response in a drop-down stating "Firefox prevented this page form automatically reloading. Could you tell me how to fix this please

    This applies particularly to CNN, when clicking onto a story at the home page, then clicking back to the home page. A black bar appears at the top of the screen, on the left side the message above and on the right side an "Allow" button and a X for closing that window. Clicking on the "Allow" results in the same notice being displayed.

    See:
    * Firefox > Preferences > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    For other OS see:
    * [http://kb.mozillazine.org/Menu_differences Windows: Firefox (Tools) > Options - Mac: Firefox > Preferences - Linux: Edit > Preferences]
    * https://support.mozilla.com/kb/Options+window+-+Advanced+panel#General_tab
    See also:
    * http://kb.mozillazine.org/accessibility.blockautorefresh

  • Unable to process your request when clicking next page button in web app

    Hi,
    1) I'm using CR for VS v13 (13.0.2000.0)
    2) .Net 2.0 in IIS6 compiled with TFSBuild on TFS2008
    3) Issue ocurs when deployed on QA server
    4) Database is SQL server 2005
    5) Ado.Net passing data definition thru an xsd with a multiple tables dataset
    6) Reports using en embeded query are ok.  This happens only when we use data definition thru an xsd with a multiple tables dataset
    7) Don't know yet (I will have a hard time convincing my boss to stay with CR if I have to redo my reports anyway...)
    8) When using Fiddler, only "200" responses are returned.  Thats when producing the page and also when clicking on the next page button
    The detailed message also says: "The target '...' for the callback could not be found or did not implement ICallbackEventHandler. "
    Thanks
    - Stephane
    Edited by: jjslagace on Apr 1, 2011 12:25 AM

    Hi again Ludek,
    Sorry for this late reply.
    I followed you advice and installed the SP1 (CRforVS_13_0_1).  It did not solved the problem with the next page button but It did fixed some printing problem we also had.
    The page where the problem occured was loading the Crystal Reports Viewer dynamically after or durring the page load.
    After reading other posts loosely related to my problem, I changed my page to load the Crystal Reports Viewer statically in the .ascx.  It solved the problem and we can now navigate in the report normally like before the update.
    Thanks for you help.
    - Stephane

  • Pop Up message when clicking digital signature stating "this is an official document"

    How can I have a message pop up when clicking on digital signature that warns the person they are signing an official government document.  I invision the message popping up making the statement and a button within the message that can be clicked to sign it.  Any ideas?   form Attached
    Thanks
    Mike

    Thats strange, cos it works when i add the code to the mouseDown event. When I click OK on the popUp it asks which handler I would like to use (I have a digital cert and a signing pad). I can then sign the doc and the form then attaches itself to an email. I do notice a small problem though... If i try to 'Cancel' (ie abort the signing process) when it asks which handler i want to use, the form still attaches itself to an email even though the sig field is empty. Im not sure if you want it to do that? I have attached the pdf with the code added. Let me know if it works.

Maybe you are looking for

  • Contacts Lost on iPod 4 Running 5.1.1 - Cannot Fully Restore

    Hello and thanks in advance for anyone who might be able to help me resolve this frustrating issue. I am using an iPhone 4 Model MD146LL with OS 5.1.1. My carrier is Sprint. Several days ago I attempted to make a call by using the Phone icon. The cal

  • Final Cut is Crashing--Will not Open

    OK, I have repaired permissions, trashed preferences, unloaded all the audio plugins (mostly because they take forever when FCP opens), and finally reinstalled FCP Studio 2. The only thing on my startup disk is OSX SL and programs. I always work off

  • Use of DECODE and NULL value in a WHERE clause

    hi all, I came into an issue trying to use the DECODE function in a simple where clause. this is my test case CREATE TABLE tab_test (lev NUMBER, code VARCHAR2(10), val VARCHAR2(10)); INSERT INTO tab_test VALUES (1, NULL, 'val11'); INSERT INTO tab_tes

  • NewWin help needed

    What I'm trying to do is click on a small image to reveal a larger image in a new window. I have a border around my small image, but don't know how to add the code to the image in the larger window. Can someone help me out? Thanks in advance. <td> <a

  • Re-installation of Leopard

    Hi, I am having some issues with programs like Safari and Firefox not opening and closing properly. It has been suggested to me to do an Archive and Install as I just upgraded from Tiger previously. I have a few questions: 1) Is this the right course