Looks like you need to the set the row height a few pixels taller.
We are completing the child rows implementation back to the DataGridView. It’s the same already present in the PropertyGrid.
Similar issue in defaults in theme builder, maybe something in tablecheckboxcell
See attached image
Any advice?
Thanks in advance!
It seems that this is related only when I am in a place in a network where the internet provider has a kind of load balancer. I see that the requests sometimes go for one ip and sometimes for another. In these cases the images are sometimes shown or not. Does the image response [ /component.wx?sid = … ] have any validation about the client ip?
I tried disabling enablewebsocket in default.json but no success.
Any advice to avoid that, or some way to configure something?
Thanks in advance!
That would be really nice! 🙂
Thank you, Frank. Will try to dig…
Hi Dmitry,
please find attached a sample that shows 3 ways to handle client keyboard events:
Hope that helps.
Best regards
Frank
Yep, its hidden from serialization.
The Wisej.Web.Page was enhanced a while ago to tie its Text property to the browser’s title. Maybe we should do the same for the active Wisej.Web.Desktop component?
Hi Harald,
There is no postback with Wisej. The architecture is a Single Page Application (SPA), so there is no form tag and to action and no postback, as instead it’s the case with traditional HTML based, pages that post back the content of the form to the server and reload the page or navigate to a new page.
http://singlepageappbook.com/goal.html
Some SPA systems are simply workarounds the traditional HTML page approach and still emulate the post. Wisej doesn’t use the <form> tag and doesn’t post anything. It’s all based on real time ajax keeping the client and the server in sync.
Additionally, the InputType property is purely an HTML attribute and it’s not something we implemented. It’s not supported equally by the browsers and its main purpose was not to validate an email field, but it’s to allow the browser to accept input (which is always a string) in different ways. A mobile device may show a date wheel, some browsers support the color picker, etc.
HTH
Best,
Luca
Thanks. Honestly I didn’t know about the year difference. Added as enhancement WJ-8401.
See attached sample. Uses two different ajax requests, the first uses jquery, the second uses the built-in xhr object so you don’t need to download jquery: http://www.qooxdoo.org/5.1/api/#qx.io.request.Xhr
I was using a custom WiseJ theme. The problem was that we set the padding directly on the Table Cell component. To fix, I had to create a “Content” component within the Table Cell and set padding on the “Content” instead.
Hi Max,
we could not reproduce the padding problem. Are you using a standard Wisej theme ? If yes, can you please make sure to use the latest version ?
In the next Wisej release we also add an enhancement to color the right filler when using row.DefaultCellStyle.
I´ll inform you when it´s available.
Best regards
Frank
picture for datepicker show Thai month but year not show Thai year
Hi Frank,
actually it doesn’t help me simplifying frontend development 😉 … but it’s okay, in the meantime I found annother solution for me.
It’s a little bit confusing for me that there are (GUI designer) properties in Wisej’s controls that are not supported in the postback.
Does a manual exist that describes which properties are supported or not in the postback of Wisej?
Furthermore is there a Manual that describes the architecture of Wisej in detail (more in detail than in the “Docs” section)?
Best,
Harald
Hi, any progress on this?
Andrew
Thanks for the answer Luca. I can solve the problem. Just write code a single line.
Found it, thanks!
Please send a small sample code. Using Image.FromStream can be tricky since the stream is kept open and the image may not be loaded at once so, depending on timing, you may have an incomplete image. It’s usually better to create a new image and dispose the stream.
using (var ms = new MemoryStream…) {
return new Bitmap(Image.FromStream(ms));
}
The stream should be kept open only the case of animated gif images.
What do you need to do?
For a simple ajax request you can use any ajax library, like jQuery, or you can use the XMLHttpRequest class directly.
If you need to invoke an action on the server, with Wisej you can simply add a public static [WebMethod] method to Program.cs and then call it from javascript using App.{methodName}(args); You can even receive the return value like this:
App.{methodName(args, function(retVal) { … });
https://wisej.com/docs/html/JavaScriptObjectModel.htm
If you add a public non-static [WebMethod] to a top level control (Form or Page or Desktop) then you can call it from JavaScript directly on the object.
Another way is to implement the IWisejHandler interface on a class. Or you can use a Wisej.Web.Widget and handle the WebRequest event. In which case the URL is this.GetPostbackURL(). See this: https://wisej.com/support/question/serving-static-content
See attached sample for the [WebMethod] approach. Look at the JavaScriptEvents attached to the buttons.
