SQL Server, SSRS and Crystal Reports
Friday, 1 September 2017
Using javascript to encode a URL with an ampersand
javascript escape function:
="javascript:void(window.open('http://xxx/reportserver?/Folder A/Report X" & "&rs:Command=Render" & "&rc:Parameters=true" & "¶m1="
& replace(
Fields!description.Value, "&", "'+escape('&')+'"
)
& "'));"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment