All Answers

0 votes

I Reviewed and ran the sample. It’s Okay – but because all the “adapting” or resizing happens on the server – it makes it kind of clunky.

When you use tools like Angular, or even modern web pages, etc.., they are very fast when resizing because it all happens on the client.

Any way to get this responsive code to be automatically generated and fired on the server side without having to code it? At least some defaults  that can be tweaked ?

0 votes

Thanks. I’d be curios to know how you are going to use it.

  • Luca answered Aug 29, 2017 - 3:22 pm
0 votes

Great example Luca. Thank you, I will used in another way, but the basics here is well explain.

0 votes

Hi Ben,

thanks, the error message comes from a wrong class name in the preview script.
It´s fixed and will be included in the next release.

Best regards
Frank

0 votes

The third way works for me.

Thanks

 

 

  • Bitpainter answered Aug 29, 2017 - 8:19 am
  • last active Aug 29, 2017 - 8:27 am
0 votes

Hi,

I wanted to come back to this issue: Changing the size of the HtmlPanel does indeed work. But it’s kind of ugly to do it periodically. I’d like to ask if you could give me the JS code that triggers the resize. I have the Wisej JS loader invoke a JS callback when it is done loading the H5P scripts, so I guess this would be a perfect place to trigger a resize.

Thanks,
Marian

0 votes

Hi Frank,

Thank you, after disable custom theme, the checkbox come back, but another problem found in “Wisej Theme Builder”, it show “Unknow class name : ….”

Thanks again.

  • Ben answered Aug 29, 2017 - 1:47 am
0 votes

There is a font definition for the menu items in the themes under fonts, you can change it like this in a theme mixin

{
 "fonts": {
   "menu": {
     "size": 23,
     "family": [ "arial", "verdana", "sans-serif" ]
   }
  }
}

Or you can set AllowHtml to true and add any html to the text, like <big>Item 1</big> or <span style…>Items</span>.

 

 

 

  • Luca answered Aug 29, 2017 - 12:27 am
0 votes

There is a font definition for the menu items in the themes under fonts, you can change it like this in a theme mixin

{
 "fonts": {
   "menu": {
     "size": 23,
     "family": [ "arial", "verdana", "sans-serif" ]
   }
  }
}

Or you can set AllowHtml to true and add any html to the text, like <big>Item 1</big> or <span style…>Items</span>.

 

 

 

  • Luca answered Aug 29, 2017 - 12:27 am
0 votes
In reply to: Timer disposed control

Is it created like this in InitializeComponent?

this.timer1 = new Wisej.Web.Timer(this.components);

  • Luca answered Aug 29, 2017 - 12:13 am
0 votes

A basic skeleton to demonstrate some of the responsive features in Wisej has just been made available.
We’ll add a blog entry about it during the next days.

Examples

I’d appreciate to hear how you are using it and if you have ideas for improvements.

 

Thanks
Thomas

0 votes

You can. There are several ways:

1 – Add a javascript extender and add this script to the numericUpDown control:

this.removeListener('roll', this._onRoll);

2- When the control is created, or the container window page are created:

Eval("this.numericUpDown1.removeListener('roll', this.numericUpDown1,_onRoll)");

3- Create a MyNumericUpDown class like this:

 

 public class MyNumericUpDown : NumericUpDown
 {
   public MyNumericUpDown()
   {
     this.ControlCreated += MyNumericUpDown_ControlCreated;
     Application.ApplicationRefresh += Application_ApplicationRefresh;
   }

   protected override void Dispose(bool disposing)
   {
     base.Dispose(disposing);
     Application.ApplicationRefresh -= Application_ApplicationRefresh;
   }

   private void MyNumericUpDown_ControlCreated(object sender, EventArgs e)
   {
     DisableRoll();
   }

   private void Application_ApplicationRefresh(object sender, EventArgs e)
   {
     DisableRoll();
   }

   private void DisableRoll()
   {
     Eval("this.removeListener('roll', this._onRoll, this)");
   }
 }

 

 

 

  • Luca answered Aug 28, 2017 - 3:24 pm
0 votes

When debugging using VS (I tried with 2015) with IIS Express you can use Edit & Continue. It works very well and it doesn’t invalidate the session.

You may want to increase the value of the session timeout, or set it to 0 to have a permanent session. Otherwise if you are taking some time editing the session will expire.

If Edit & Continue is disabled, go to Tools->Options->Debugging->General, at the bottom of the list you should have the Edit & Continue options.

  • Luca answered Aug 28, 2017 - 2:59 pm
0 votes
In reply to: HTTP-Error 500.19

success … I found the solution for me:

A useful thing to know is that even if IIS is enabled on a Windows 2016 server machine, Application Development / Asp.Net still needs to be enabled in Server Manager.

I had to install 2 Features:
– .NET Framework 4.6/ASP.NET 4.6
– WCF-Services/HTTP-Activation

After that the following “Roles and Features” are in the installed features list:

Web Server (IIS)
Web Server
Application Development
ASP.net 4.6
ISAPI Extension
ISAPI Filters
.Net Extensibility 4.6

0 votes
In reply to: HTTP-Error 500.19

okay … now I’m 1 step ahead … I changed the following lines in applicationHost.config:

<section name=”modules” allowDefinition=”MachineToApplication” overrideModeDefault=”Allow” /> <- from “Deny” to “Allow”

<section name=”handlers” overrideModeDefault=”Allow” /> <- from “Deny” to “Allow”

The result is that “default.html” is shown, but the wisej.wx script does not start the application … what’s wrong now?

0 votes

Hi Ben,

are you using a custom theme ? There has been a bug fix that apparently did not make it into the release notes:

The inner component of the checkbox cell has to be renamed “checkbox” from content.

Hope that helps.

Best regards
Frank

  • Frank (ITG) answered Aug 28, 2017 - 8:17 am
  • last active Aug 28, 2017 - 8:28 am
0 votes

Hi Harald,

extending trial licenses is only possible upon demand.
I have extended yours until september 30th.

Best regards
Frank

0 votes

Hi Truong,

it´s fixed in Wisej 1.4.20

Best regards
Frank

0 votes

Hi Sergio,

the fix is now available in 1.4.20

Best regards
Frank

0 votes

Hi David,

we have logged this issue as WJ-8412 and it is fixed in Wisej 1.4.20

Best regards
Frank

Showing 8541 - 8560 of 11k results