All Answers

0 votes

Looks like you need to the set the row height a few pixels taller.

  • Luca answered Aug 18, 2017 - 4:11 pm
1 vote

We are completing the child rows implementation back to the DataGridView. It’s the same already present in the PropertyGrid.

  • Luca answered Aug 18, 2017 - 4:10 pm
0 votes

Similar issue in defaults in theme builder, maybe something in tablecheckboxcell
See attached image
Any advice?
Thanks in advance!

  • Ser Gar answered Aug 18, 2017 - 5:13 am
0 votes

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!

  • Ser Gar answered Aug 18, 2017 - 3:32 am
  • last active Aug 18, 2017 - 3:36 am
0 votes

That would be really nice! 🙂

0 votes

Thank you, Frank. Will try to dig…

  • Dmitry answered Aug 17, 2017 - 6:42 pm
1 vote

Hi Dmitry,

please find attached a sample that shows 3 ways to handle client keyboard events:

  1. Using the JavaScript extender
  2. Using a custom JavaScript class (needs the embedded resource and the WisejResources attribute in AssemblyInfo.cs
  3. Using Custom JavaScript code

Hope that helps.

Best regards
Frank

0 votes

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?

  • Luca answered Aug 17, 2017 - 5:12 pm
0 votes

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

 

  • Luca answered Aug 17, 2017 - 5:06 pm
  • last active Aug 17, 2017 - 5:07 pm
0 votes

Thanks. Honestly I didn’t know about the year difference. Added as enhancement WJ-8401.

  • Luca answered Aug 17, 2017 - 4:59 pm
2 votes

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

  • Luca answered Aug 17, 2017 - 4:29 pm
0 votes

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.

  • Max Orlando answered Aug 17, 2017 - 2:11 pm
  • last active Aug 17, 2017 - 2:19 pm
0 votes

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

0 votes

picture for datepicker show Thai month but year not show Thai year

0 votes

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

 

 

0 votes

Hi, any progress on this?

Andrew

0 votes

Thanks for the answer Luca. I can solve the problem. Just write code a single line.

0 votes

Found it, thanks!

  • Luca answered Aug 16, 2017 - 4:15 pm
0 votes

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.

  • Luca answered Aug 16, 2017 - 3:55 pm
1 vote

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.

 

 

  • Luca answered Aug 16, 2017 - 3:12 pm
Showing 8621 - 8640 of 11k results