Sunday, February 19, 2012

hiding "Change Credential" link

Is there any way to hide "Change Credential" link comes in browser?

I cannot change the credential type, It will be "Prompt" only as i am passing connection string and Credentials via URL.

You can hide the entire prompt area by specifying rc:Parameters=false in the url. Note that this will hide both the data source and the parameter prompts. There is no way to hide only the data source prompts via url access. If you use the ReportViewer webforms control, then you can control the parameter and data source prompts independently.|||

thanks Brian.

I am able to hide "Change Credential" link using mshtml object. mshtml object, has property called "document", using that you can get all the controls on the pages. Top three rows i am hiding using that.

Hope microsoft will not change the structure of HTML page, generates by Report Server.

|||What you are doing may work in the current version, but it is not a supported mechanism for changing the viewer. The html structure may change in a future version or service pack.

No comments:

Post a Comment