To open Modal Dialog Box/Window
Step 1.open script tag
function onClientClick(){
var Options=SP.UI.$Create.Dialogoptions();
Options.Url="url";
Options.Width=500;
Options.Height=200;
SP.UI.ModalDialog.ShowModalDialog(Options);
return false;
}
close script tag
Step 2. To Call javascript function
open anchor(a) tag href="javascript:void(0);" id ="view" onclick="onClientClick"
View All
close anchor tag
No comments:
Post a Comment