ReportViewer Control - Height issue

后端 未结 13 1005
南笙
南笙 2021-01-31 09:10

In my asp.net application, I am trying to open a particular report. I have the ReportViewer Control set with width of 100% and height of 100%. Now I expect that to mean that t

13条回答
  •  闹比i
    闹比i (楼主)
    2021-01-31 09:31

    This is the solution to fix it, setting the height dynamically using javascript, it works with both IE and Firefox.


    • Please don't change the following code of ".aspx"

    
     
      
       
    

    Here we are replacing the ReportViewerForMvc.Scripts.PostMessage.js explicitly with our own resizeIframe where we specifying width

提交回复
热议问题