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