June 18, 2007 at 12:01 pm
I'm the web programmer, not the report developer so hopefully this isn't too much of a dumb question.
Short version is I'd like to add a link to one of the reports which opens a pop up window allowing a user to rate the vendor. I prefer a popup because I don't want the user to move away from the report (target="_blank" can be a problem with tabbed browsers)
Here is the javascript I was using on a normal webpage
[a href="javascript:void(0);" onclick="javascript:window.open('http://mysite/vendorRating.php?vendor=10000', 'open_window', 'menubar, toolbar, location, directories, status=no, scrollbars=no, resizable, dependent, width=600, height=300, left=0, top=0');"]Rate Vendor 10000[/a]
and in action:
and that vendor number would be the same as one of the other columns in the report.
I noticed that there was a hotfix in 2000, but didn't know if that was the problem in 2005 as well.
http://forums.asp.net/p/938334/1742350.aspx
Anyone know how to do this?
June 18, 2007 at 1:39 pm
Got it figured out. This should all be on 1 line under the navigation area.
="javascript:void(
window.open('http://mysite.vendorRating.php?vendor=" & fieldName & "','open_window', ' resizable, dependent, width=600, height=300' )
)"
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply