Split Container Splitter Not Saving Correctly

Answered
0
0

I have a basic project template made with some simple user controls. Within the user control I have a split container. When moving this split container’s splitter in a client profile it is then set to that location for all other client profiles. In the designer it appears as if it is not doing this for the most part but when you load the project in debug mode it indeed is different. I can move the mouse around the split container and see where the mouse switches to the split container mouse icon to tell where the splitter is. You can replicate this by opening the ucMain designer, selecting the default client profile and moving the mouse downward until the mouse icon switches. If you then switch to either the phone or small desktop client profiles you can see it is getting it’s location from the small desktop client profile. It seems as though the last profile with the splitter location set overwrites all other locations. I attempted to screenshot it for you but the mouse icon was not captured. I have attached the project below. It is a PWA template in VB.Net in Visual Studio 2022 17.5.4. I removed the language files and the .vs folder to save space when compressing the file.

-Thank you in advance.

  • You must to post comments
Best Answer
0
0

Hi David,

The SpliterDistance property isn’t responsive, that’s why you’re seeing the current issue.

In general, it’s easy to check what property is responsive or not by checking for the Tiny tool icons next to the property.

As a workaround, you can use the ResponsiveProfileChanged Event instead.

Best,
Alaa

  • You must to post comments
0
0

I should note I compressed it with 7zip using LZMA compression level to meet the file size limit because the Wisej.Framework.dll won’t compress below the file size limit with the default compression method in Windows 10. I test extracted it with 7zip and it seemed to work using 7zip but it would not extract properly in windows. I have attached a zipped folder of the project with Wisej.Framework.dll file removed.

  • You must to post comments
0
0

Sure. Here it is.

  • You must to post comments
0
0

Hi David,

Your sample seems to be corrupted as I could not extract it.

 

If you can, please re-attach it.

Best,
Alaa

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.