Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Any idea how to suppress the page refresh that occurs after EditItem2 is called?

$
0
0

Using EditItem2 to open an InfoPath web form in a dialog works great, but I don't want the calling page to refresh when the form is closed.  Any ideas on how to suppress the refresh that occurs after EditItem2 is called?

onclick='javascript:DisableRefreshOnFocus();javascript:EditItem2(event,"https://my.site.com/teams/myteam/_layouts/FormServer.aspx?XmlLocation=/teams/MyTeam/Forms/[Form_id]&ClientInstalled=true&DefaultItemOpen=1");javascript:return false;' target="_self"


Viewing all articles
Browse latest Browse all 11571

Trending Articles



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