reporting services - Hide parameters from SSRS Report when it Renders inside an iframe -


i have go through question same topic in stack overflow did not accurate answers same why have ask question again

hiding toolbar , navigation in ssrs report inside iframe

i havce created ssrs report , have render in iframe using it's url

then problem need hide parameter details because contains sensitive infromations

i had tried below

$('#ifrme_reportview').attr('src',http://localhost/reportserver/pages/reportviewer.aspx?%2myreport%2fviewreport&rs:command=render&rc:parameters=false&pid="+pid+"&id="+id+"") 

but still shows parameters

but when paste url directly in browser parameter part hidden

why happneds ?? there way hide parameters ssrs reports when render in iframe ???

you have rc:paramaters=false in url string twice. in experience, having rc:toolbar=false in url twice causes toolbar show regardless, suspect you're hitting same problem.

try:

$('#ifrme_reportview').attr('src',http://localhost/reportserver/pages/reportviewer.aspx?%2myreport%2fviewreport&rs:command=render&rc:parameters=false&pid="+pid+"&id="+id+"") 

dan


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -