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
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
Our thoughts here at Progress are with those affected by the outbreak.
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
Our thoughts here at Progress are with those affected by the outbreak.