Jun 7, 2011 #1 varshaaa Programmer May 25, 2011 10 IN <a href="../_layouts/listform.aspx?PageType=6&ListId={{24b92116-5f1f-4866-97f8-13693b75cc47}}&ID={@ID}"> <img border="0" src="/_layouts/images/edititem.gif"/> </a> I want to open the above URL as modal pop .. Any help
<a href="../_layouts/listform.aspx?PageType=6&ListId={{24b92116-5f1f-4866-97f8-13693b75cc47}}&ID={@ID}"> <img border="0" src="/_layouts/images/edititem.gif"/> </a> I want to open the above URL as modal pop .. Any help
Jun 7, 2011 #2 ehaze Technical User Oct 16, 2009 254 US SharePoint 2010 or 2007? http://www.sharepointed.com/ Upvote 0 Downvote
Jun 7, 2011 Thread starter #3 varshaaa Programmer May 25, 2011 10 IN Its sharepoint 2010... I got the solution ..Here I providing the code for sharepoint newbie like me <script type="text/javascript"> function open(Id){ var options = { url: "../_layouts/listform.aspx?PageType=6&ListId={24b92116-5f1f-4866-97f8-13693b75cc47}&ID="+Id, title: "Edit", allowMaximize: true, showClose: true, width: 625, height: 525, dialogReturnValueCallback: silentCallback}; SP.UI.ModalDialog.showModalDialog(options);} function silentCallback(dialogResult, returnValue) { } function refreshCallback(dialogResult, returnValue) { SP.UI.Notify.addNotification('Operation Successful!' SP.UI.ModalDialog.RefreshPage(SP.UI.DialogResult.OK); } </script> <a href="javascriptpen({@ID})" target="_self"> Upvote 0 Downvote
Its sharepoint 2010... I got the solution ..Here I providing the code for sharepoint newbie like me <script type="text/javascript"> function open(Id){ var options = { url: "../_layouts/listform.aspx?PageType=6&ListId={24b92116-5f1f-4866-97f8-13693b75cc47}&ID="+Id, title: "Edit", allowMaximize: true, showClose: true, width: 625, height: 525, dialogReturnValueCallback: silentCallback}; SP.UI.ModalDialog.showModalDialog(options);} function silentCallback(dialogResult, returnValue) { } function refreshCallback(dialogResult, returnValue) { SP.UI.Notify.addNotification('Operation Successful!' SP.UI.ModalDialog.RefreshPage(SP.UI.DialogResult.OK); } </script> <a href="javascriptpen({@ID})" target="_self">