I would like to print everything in a newform.aspx/editform.aspx modal dialog. I was considering creating a Web Part or a bit of JavaScript that was nothing more than a print button that specified the current window but I wasn't sure if that would work...
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
You can create a Custom Action which will add a print button to your Newform.aspx and EditForm.aspx forms, and in the Command you can define a javascript to print current window. See sample below: Example for NewForm.aspx
|
|||||||||||||
|
|
Better CommandAction approach here, because it gets all dialog content w/o the underlying page. Weakness, doesn't honor InfoPath Page breaks.
|
|||
|
|