Tag Info

Hot answers tagged

4

There is an easy out-of-the-box solution provided with SharePoint 2010: enable asynchronous refresh in the web part properties. For SharePoint 2007, you can develop your own solution. I recommend using SPServices for that, and here's a starting point. However it will be very hard to keep all of the same functionality provided in the UI so you will need to ...


2

Just remove the redirect in GenFireServerEvent. The nature of the event will trigger a postback, reloading the page with the updated data. <input type="button" value="Update" name="btnSave" onclick="javascript: {ddwrt:GenFireServerEvent('__commit')}" /> Be sure to include this code within the DataFormWebPart.


2

Chrome responds unexpectedly in some situations where the server returns 304 (telling browser to render cached asset) chrome just doesn't load the asset. After weeks of messing about this here is a brute force solution to force chrome to reload css on each request to the page. Include this below on your page to fix the issue: function reloadStylesheets() { ...


2

The XsltListViewWebPart, which is one of the default web parts you can drag onto a form in SharePoint Designer, has an "Auto Refresh" and a "ManualRefresh" property which may get you what you want. Read further below for a script that addresses your question specifically. FWIW, if you create it programatically, I just happen to have a handy snippet: ...


1

The Page Viewer webpart actually creates an < iframe >-html-object. The problem is that due to the security risks caused by iframes in the past every browser nowadays sandboxes the iframe. The iframe has no access to the DOM of the parent-page, so you can't access the other iframes (Page Viewer webparts). More information: ...


1

modify master page and add Java-script simple code to that refresh it every N seconds. you can search with Google and using those JS codes. this is helpful for those pages that contains these web parts >> like charts and calendar and etc. that we haven't those options. after this answer i search here in this stack and found similar question and answer: ...


1

There are various approaches to achieve this: You can use the SP.UI.ModalDialog.RefreshPage(SP.UI.DialogResult.OK); http://blogs.msdn.com/b/jfrost/archive/2009/11/08/how-to-display-a-sharepoint-dialog-from-ribbon-button-and-get-selected-item-context.aspx OR In your ribbon button add the following CommandUIHandler : ...


1

You can try another simple way, by leveraging ASP.Net, since the List Webpart is contained inside a asp:UpdatePanel, you can update that UpdatePanel via: var ListID = 'BAC6C3F7-4E5F-4BA5-A576-5DF66C33C83E'; // just an example UID __doPostBack($('table[id|="{'+ListID.toUpperCase()+'}"]').attr('id'), ''); ListID is the ID of your List (without curly ...


1

You can reload a XSLTListViewWebpart with ajax by selecting Edit Web Part -> AJAX Options -> Enable Asynchronous Load. Here you can also set it to refresh on a given interval. Now you say you have "enable the asynchronous load", and this works, so what you can do if you want to trigger this load manually is to select Show Manual Refresh Button in the same ...


1

Are you using any QueryString with ID parameter?? If yes, then change to it something else. Hope this helps :)


1

If you just wish to have your reports open all day along without a timeout , I am assuming you are using Excel Services for SharePoint 2010 In the central admin go to the - trusted datasource library > Session Management > Session Timeout and set this value to "-1". This should prevent your time out messages for ever. But this is certainly not a good ...



Only top voted, non community-wiki answers of a minimum length are eligible