I'm having an interesting issue with the VS Designer and Telerik forms. My forms are shrinking! Sure, I can set the size in code behind, but I shouldn't have to. This is a problem with all my Telerik Winforms projects.
Create a new Telerik Winforms project. Expand the original form and add a grid. Anchor the grid. Save and close the form. When the form is reopened, the grid is the correct size, but the window shrinks.
It appears the designer fails to set the Size property.
Is it just this machine?
Please advise.
VS2022, Telerik Winforms 2023.1.117
4 Answers, 1 is accepted
Hello David,
The reported behavior looks similar to one logged in our Feedback Portal. I am happy to inform you that this is fixed in our last service pack (R1 2023 SP1). Updating the NuGet package to 2023.1.314 fixed this size behavior. Give it a try and let me know if further assistance is required.
Regards,
Dinko | Tech Support Engineer
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi Dinko,
Sorry for the delay. Sorry, no. R1 2023 SP1 and 2023.1.314 did not fix the problem. The forms are still shrinking in new projects and old projects.
Removed Telerik with the Progress Control Panel. Uninstalled Telerik NuGet Packages. Restart. Reinstalled. Forms are still shrinking.
Hi David,
I am sorry to hear that. I have doubled check your steps and the form is correctly sized in the Designer. What I have done is create a new RadForm in your sample project. As you described, I have added RadgridView and Anchor it. After saving and closing the form and loading it again the RadForm bounds are correct. May I ask you to double-check if the NuGet package is correctly updated to the 2023.1.314 version? I am also attaching the sample project.
Regards,
Dinko | Tech Support Engineer
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Ah, ha! See I did screw up!
I was using the .Net60 2023.1.314 library. Once the .NET70 package was installed, it works great.
Thanks!