none
dataformwebpart open link in modal dialog RRS feed

  • Question

  • Hi

    I've created a custom aspx page and added a Dataform webpart to surface list information form a subsite. I also added a hyperlink that points to the orginating item (.../Subsite/Lists/Test2/DispForm.aspx?ID={@ows_ID} )

    This opens the item in question albeit in the dispform.

    I would like this information to open in some sort of pop-up window, either using jquery or Modal.

    I've already tried the modal option and without success, problem being I think its a custom aspx page.

    Modal might be the easiest (jQuery would be nice!)

    Any help appreciated


    Friday, October 31, 2014 12:02 PM

Answers

All replies

  • Yes, you can have a function in js code to open the link in model popup. What you will need to do is, pass your url as param of the function and call the same on onclick event of hyperlink from your DFWP. Have below link for your reference.

    Working with SharePoint 2010 modal dialogs

    Thanks. 

    Saturday, November 1, 2014 7:39 AM
  • Hi,

    Any update?

    Is the solution provided by Jaydeep helpful to you?

    Best regards,

    Patrick


    Patrick Liang
    TechNet Community Support

    Friday, November 7, 2014 9:05 AM
    Moderator