auto refresh a list


Posted by jpwallace - Feb 1 ’17 at 04:12

I have a list called Departments, this list has been put in a web part on a page called Departments.  I placed a content editor on the page with some JS to hypelinked text which reads Add New Department. When this linked is clicked the SPForm opens up as you would expect, when i enter a new department and click Add, the dialog closes as you would expect but the list doesnt automatically refresh so you can see the newly added department. Is there a way i can make the list that is on the page auto refresh after adding a new department?

  • Dmitry Kozlov
    Dmitry Kozlov
    Member for: 8 years 2 months 20 days
    #1 by Dmitry Kozlov Feb 2 ’17 at 05:07

    Why don't you use the Related Items control? It refreshes the page automatically after adding a new item.

  • quizlout
    Member for: 1 year 21 days
    #2 by quizlout Aug 24 ’21 at 06:53

    Applications for custom essays must be valid, so go to this site, there you can order some kind of work you need in order to improve your grades as well as the teacher's attitude towards you

  • Katedavis
    Member for: 3 months 9 days
    #3 by Katedavis Aug 31 ’21 at 07:04

    I believe that many students don't write domyhomework123 reviews because they are completely satisfied with their quality of papers. Most people share the only negative experience, so there is nothing bad about using this academic writing service.

  • KevinDurant
    Member for: 3 months 6 days
    #4 by KevinDurant Sep 6 ’21 at 05:26

    Why do we have to spend money to buy things that are available and free? Impossible Game is a website that has a lot of games suitable for many ages. They will give you the most relaxing time, and it's completely FREE for you!

Displaying 1 to 4 of 4 messages