Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Open display form as dialog box from hyperlinks in a gridview

$
0
0

Last couple days, I was trying to work on a gridview the display external list items. I do not have much knowledge of the area. After I took care the new item dialog, I get another issue for exist items. I use HyperLinkField to generate a hyperlink for each external item and want users open item sin a dialog box.

Then I added the following script to a content edit on the DispForm.aspx.

When I click the hyperlink, the default display form (not the dialog) is open. However, when I try to edit the page and modify the script, the dialog box popup with the correct item? It seems the javascript is doing something, but not do the right way. I wish someone can help me on this. Sorry for keep post my questions for the same object recently. Thanks a bunch!


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>