SplitterWidth works only in designer

Answered
0
0

Hi,

on mobile SplitterWidth do not change the Width.

is there any workaround?

best

Cristian

  • You must to post comments
Best Answer
0
0

Hi Christian,

As a workaround, you’ll need to extend the SplitContainer and add the following override:

public class MySplitterContainer : SplitContainer {

protected override void OnWebRender(dynamic config)

config.orientation =
this.Orientation == Orientation.Vertical
? Orientation.Horizontal
: Orientation.Vertical;

base.OnWebRender((object)config);
}

Best Regards,
Alaa

  • You must to post comments
0
0

I link demo project and screen shot

https://eprimeos.it/public/demo/splitterwidth.png

https://www.eprimeos.it/public/demo/testsplitter.zip

 

If I attach in the post, I have an error “Forbitten”

  • Julie
    • Julie
    • Feb 14, 2025 - 6:48 pm
    • 1
    Thanks. We have a fix in QA now that will be deployed with the next release of Wisej
  • Cristian Zerbinati
    Hi Julie, thank you. is there a temporary workaround that can I use?
  • You must to post comments
0
0

Hi Cristian,

you say it also fails on the desktop?
I have tried here and could not reproduce it at all.

Can you please tell us your Wisej.NET version and send a sample with instructions on how to reproduce?

Best regards
Frank

  • Cristian Zerbinati
    Hi Frank, I have found the bug! It is only when the split panel has Orientation = Horrizontal , with the default Vertical there is not this problem
  • Frank (ITG)
    Hi Cristian, thanks but trying this with Orientation = Horizontal it also works okay here. So in order to track it down further we still need your Wisej.NET version and a test case. Best regards, Frank
  • Cristian Zerbinati
    I post test case
  • You must to post comments
0
0

Hi Frank,

the splitter container works, is the property SplitterWidth that do not work, only in designer. I have just test on Android Firefox and Chrome, I just noticed that the problem is also present in desktop browsers

Wisej version: 3.5.16

Windows

changing the property SplitterWidth work on desinger, but not on browser, desktop too

best

  • You must to post comments
0
0

Hi Cristian,

I just checked our Demo Browser on an iPhone and it worked fine:

https://demo.wisej.net/#Containers/SplitContainer/Features

So we need more information:

  • What Wisej.NET version are you using?
  • What device / OS  are you running on?
  • Please describe what’s not working and supply a test case that shows where it fails for you.

Best regards
Frank

  • Cristian Zerbinati
    the control works, is the property SplitterWidth that works only in designer. I need to increase the size
  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.