Valentina,
It's hard to say what's going on here; the Expanded property should certainly not always be showing true if it's collapsed. I just tested this in my application where the group box starts off collapsed and clicking a button expands it, and it worked fine. What is being serialized in the designer code for the ExpandedSize property? I know that there have been bugs in the past regarding the serialization of these properties, so you may want to ensure that you have the latest hotfix.
-Matt
Georgi, im using NetAdvantage 2012.1
try this, change the Default Expandable option in design mode
Then when you run, add a button which sets expanded = true
then run and click the button
OK. Here is my test sample with latest available build - 12.1.20121.2135. Please take a look on attached sample and video file and if you think that I didn`t reproduce your scenario, feel free to write me and / or modify my sample to reproduce your issue.
Let me know if you have any questions.
Test sample
i tried the same in vb.net
it seems to be working, but when i wrote that first comment, that was the problem. I have no idea why i cannot reproduce it now, my system was not updated
Thanks for your response and feedback.
I guess that maybe by mistake you used Enabled property instead of Expanded . I made the same mistake in the hurry.
Have a nice day !
OK. Let me know if you need any further assistance
no, positive that it was expanded. i was trying it for several hours.