I believe that parent strategy can work!
I gonna check it!
Tks
Hi Ruben,
the code you posted cannot work as is.
Best regards
Frank
Hi Luiz,
(User)Popups don´t have a parent to be able to show over all other controls.
But there are 2 easy ways to resolve this:
Best regards
Frank
You could listen to the CurrentItemIndexChanged event.
To know the previous item you can save CurrentItemIndex property in a local variable.
Best regards
Frank
I know I can implement anything inside userpopup (I’ve done), but i need to interact with his parent (viewport).
When I click in something inside Userpopup, I lost my viewport. (Could see the example attached?)
Should I implement tabpages with pages inside them?
Tks
I tested the example but the userpopup should be inside the page1.
I have a Viewport with a toolbar, this toolbar will open an userpopup and open all the pages or windows without losing the main toolbar.
How can I do that?
Tks
Hi Luiz,
please find a sample attached. You can use it as a base and adjust it as you want.

Best regards
Frank
Hello
I’ve tried to use the UserPopup with no success, and I didn’t find an example in the GitHub, can you send me one?
Tks
Hi Angelo,
Thanks for finding this.
It looks like a bug in the UserPopup! We logged the issue as #2574 (wisej.com/issues) and have a fix in place for the next build.
As a workaround, you can also add the attached mixin as an Embedded Resource to your project.
To add a mixin to your project:
You can apply the animation in the designer using the appear or disappear event or use:
this.animation1.GetAnimation();
in the Appear event of the UserPopup.
Please let me know if you have any questions!
Best,
Levie
Hi Luiz,
you can use a UserPopup for that. It can contain any controls you like.
Please let us know if you need a sample.
Best regards
Frank
Hi Ruben,
I have created a small demo application where you can upload images to a Custom Wallpaper.
It should help you to transfer the logic to your requirement.
Please let me know if you have any further questions.
Best regards
Frank
Hi Levie
Thanks for reply.
For the moment I use your solution waiting the new release.
Best
Angelo
Thank you Luca!
It worked like a charm.
I was trying to set the control.Value at the DropDown. Using your JS was exactly what I needed.
I tried using the NullableValue to start with, but got many exceptions thrown while doing that. Maybe I didn’t do it the proper way. I will check further.
AlertBox and MessageBox don’t exist on the server. When you call the static Show() method the widget is sent to the client and immediately disposed. If you use the close callback to get notified when the AlertBox is closed, and only in that case, Wisej registers a “proxy” component that will receive the “close” event and then gets disposed. Basically the AlertBox is simply a less intrusive alternative to the MessageBox.
You can use the new Wisej.Web.Toast component instead. It lets you create a reference, reuse it and even update it live while it is shown.
var toast = new Toast("Test");
toast.Show();
toast.Close(); // this doesn't dispose it, you can reuse it and call Show() again. When done use Dispose().
In the theme it uses the “toast” appearance.
HTH
Ivan,
You can use this in the DropDown event that Alaa mentioned.
this.dateTimePicker1.Eval($”this.getChildControl(‘list’).setValue(new Date(‘{new DateTime(2021,1,15).ToString(“yyyy-M-d”)}’))”);
Or you can use the NullableValue property and set it to null or set Text to “”. The DateTime.MinValue is 1/1/0001 so 1800 is a valid date.
HTH
Hi Levie.
Thank you!
The funny thing is… still not quite there. But definitely a lot better.
Cheers.
Ivan
Ciao,
When I click on a datarepeaterItem I make one or more buttons visible. How do I hide them when I switch from one datarepeaterItem to another? (i.e. in datarepeaterItems that lose focus?)
Grazie
Alessandro
Hi Ivan,
Thanks for your patience.
It looks like iOS Safari adds a default opacity of 0.4 to disabled inputs. If this isn’t overridden, you’ll see the faded textbox like you mentioned.
We’ve put in a fix for the next build.
As a workaround, you can add the following CSS to your Default.html:
<style>
input[disabled] {
opacity: 1;
}
</style>
Please let me know if you have any questions or issues!
Best,
Levie
Yep, it’s fixed internally. This dev build was problematic.
Hi again, Alaa.
I was able to accomplish showing a blank box on a pre-set datetime using the Custom Format.
Now I have a side-effect, which happens once the user goes to the control to Enter some date. All fine if they type it, but if they choose to use the Calendar tool on the box, it will show a date way behind, in 01/01/1800. 😀
OK, this might be one of those “you can’t have the cake and eat it too”, but would you know of a way to set this Calendar to Todays date programmatically when the user enters it, if necessary?
