Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

SharePoint Online - Ribbon Modal Dialog

$
0
0

Hi Guys,

I am building a sharepoint online app.  It consists of a button on the ribbon, that when clicked opens a modal.  The problem I am having is that the list or page I am on refreshes when the modal closes.  This is not the desired result, there is no need for the user to have to wait for the postback (refresh) to run through its motions.

Is there anyway I can prevent the parent refresh, please note again, I am using sharepoint online, not sharepoint on premise.  This is my command handler that opens the modal.

<CommandUIHandler
         EnabledScript="javascript:alert('Not Implemented');"
          Command="cmdGetQRCode"
          CommandAction="~appWebUrl/Pages/Default.aspx?{StandardTokens}&amp;SPListItemId={SelectedItemId}&amp;SPListId={SelectedListId}&amp;IsDlg=1"
         />



Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>