Open Modal poup with (editifs.aspx?ID=4&IsDlg=1) in sharepoint

user1595301 picture user1595301 · Aug 13, 2012 · Viewed 9.2k times · Source

I have created a hyperlink field and provide the following List edit URL.

$http://SPS2010/Lists/TestList/Item/editifs.aspx?ID=4&IsDlg=1

But when I am clicking on the hyper link with the above value(editifs.aspx?ID=4&IsDlg=1), It simply opens in a new page rather than opening in modal popup .

If we normaly click on the edit link of the List item with the same URL it will opens up in Modal popup.

Please suggest, where we are wrong.

thanks in advance...

Regards,

Kamal Pundir

Answer

Maks Matsveyeu picture Maks Matsveyeu · Aug 13, 2012

It is not that simple as you would like it to be. See the article that will help you understand how to open a dialog. In order to open a hyperlink field link in a new window you will have to use javascript to modify your tag to launch you javascript function instead of navigating to an url. see this.

Good luck.