Hi
I use the following java function to call a sharepoint ModalDialog popup :
I use the following java function to call a sharepoint ModalDialog popup :
function OpenDialog() {
var options = SP.UI.$create_DialogOptions();
options.url = 'http:/...Catalogue.aspx'
options.dialogReturnValueCallback = Function.createDelegate(null, CloseCallback);
options.width = 700;
options.height = 400;
SP.UI.ModalDialog.showModalDialog(options);
}
I call the function with this:
"<a id="newc" runat="server" onclick="newc_Click" href="Javascript:OpenDialog();">New Catalogue</a>
I want to use my RibbonBar Buttons to call this functions