This is a migrated thread and some comments may be shown as answers.

how to fix resolution screen after refresh report ?C#

4 Answers 276 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sardar
Top achievements
Rank 1
Veteran
Sardar asked on 26 Apr 2020, 05:53 PM

Please help me!!!

when i refresh my report my resolution screen is change in my C# project

the reportviewer also the form size was change like the picture

iam using telerik report and reportviewer please how can i fix it???????

4 Answers, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 29 Apr 2020, 10:32 AM

Hi Sardar,

We haven't experienced such an issue so far. 

We will need a sample runnable project on which the problem is reproducible, so we can inspect it on our end and provide information about a possible solution.

Regards,
Neli
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Sardar
Top achievements
Rank 1
Veteran
answered on 29 Apr 2020, 11:31 AM

bro watch this video you see my problem

please help me...

to see the  video click Video Link

0
Ivan Hristov
Telerik team
answered on 01 May 2020, 02:29 PM

Hello Sardar,

I checked the video and it seems to me the problem is related with the DPI-awareness of the WinForms application. In case the DPI of the machine is set to more than 100% (which is 96DPI), the WinForms applications have troubles resizing correctly their contents. For such scenarios we advise to declare the application as DPI-aware, which is done by including an assembly manifest to your project. You can read more about it here.

You can also see a working example in our WinForms demo, which contains a file named dpiAware.manifest with the following contents:

<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
  <asmv3:application  xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
      <dpiAware>True/PM</dpiAware>
    </asmv3:windowsSettings>
  </asmv3:application>
</asmv1:assembly>

In order to respect the manifest, it must be selected in the manifest field in the project properties as shown below:

Hope this helps.

Regards,
Ivan Hristov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Sardar
Top achievements
Rank 1
Veteran
answered on 03 May 2020, 01:52 PM
thank uuuuuuuuuuuuuuuuuuuuuuuu it is worked!!!!!
Tags
General Discussions
Asked by
Sardar
Top achievements
Rank 1
Veteran
Answers by
Neli
Telerik team
Sardar
Top achievements
Rank 1
Veteran
Ivan Hristov
Telerik team
Share this question
or