Wednesday 27 June 2012

Prevent loading of contextual ribbon on click of list view web part in SharePoint 2010

I was facing the same issue and found the solution from here


you need to override the two javascript functions as below on the customized page:
//following functions are added for disabling ribbon menu for list view
<script type="text/javascript">
function WpClick(event)
{
return false;
}
function WpKeyUp(event)
{
return false;
}
</script>

No comments :

Post a Comment