auto refresh a list
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
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Why don't you use the Related Items control? It refreshes the page automatically after adding a new item.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 19 guests