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

Custom Web Part as a Modal Pop Up

$
0
0

Hi..

I want to display a custom web part page as a modal popup when we click a button...

i implemented this code

function openBasicDialog() {    var options = {
             url: '/SitePages/ChangeAccountStatus.aspx?IsDlg=1',
             title: 'Google'
         };
         SP.UI.ModalDialog.showModalDialog(options);
         return false;
     }

but getting an error as below

The Ribbon Tab with id: "Ribbon.Read" has not been made available for this page or does not exist.
Use Ribbon.MakeTabAvailable()."


Ravindranath


Viewing all articles
Browse latest Browse all 11571

Trending Articles



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