All Answers

0 votes

I have a similar problem with VS2012.

When first installed all the controls for a form are available in the toolbox. However closing and reopening VS causes all the toolbox items to be removed. I re-ran the new installer but it did not fix the issue. I had to manually add the controls back into the toolbox.

  • Nic Adams answered May 11, 2016 - 8:55 am
  • last active May 11, 2016 - 9:12 am
0 votes
In reply to: Label - Dock Property

Hi Luca,

I overlooked that Autosize property. When set to false, Dock.Fill works fine. But your proposed enhancement to make is automatically set is great.

Thanks

Cris

  • Cris answered May 11, 2016 - 2:25 am
  • last active May 11, 2016 - 9:12 am
0 votes
In reply to: WiseJ Version Number

Luca, Frank,

Thanks for quick response.

  • Cris answered May 11, 2016 - 2:01 am
  • last active May 11, 2016 - 9:12 am
0 votes
In reply to: Label - Dock Property

Did you set Autosize to false?

We probably have to do it automatically when dock/anchor are changed. I’ll log it tomorrow as an enhancement.

  • Luca answered May 11, 2016 - 2:19 am
0 votes

Thank you again. There was something that didn’t feel right about those callbacks…

This is how we solved it:

  • all internal resource requests must include a valid/active session id in the base64 package: when the session is retrieved by Wisej SessionManager it always checks the client fingerprint to avoid session hijacking.
  • all download requests (without the session id – since we don’t want to give out the sid in a downloadable link) are limited to the application’s root folder or the application’s temp folder in {system’s temp}\Wisej\{ApplicationName}\Temp.
  • the delete option is removed and temporary images are deleted by default.
  • all downloads from /bin are disallowed.
  • all download from /App_Data are disallowed.
  • all .json, .config, .dll downloads are disallowed.
  • for resources requests, only these types are allowed: jpg, gif, jpeg, png, js, css.

Please note that these restrictions only apply to files and resources managed by Wisej. Any common file/image request will always go through the browser.

When any of the conditions above fails, wisej returns 404 (not found).

We will keep checking for any additional potential unsafe resource access.

/Luca

 

  • Luca answered May 10, 2016 - 9:32 pm
  • last active May 11, 2016 - 1:37 am
0 votes
In reply to: WiseJ Version Number

Hi Cris,

both issues have been fixed in the latest build that has just been uploaded.

Best regards
Frank

0 votes
In reply to: WiseJ Version Number

Hi Cris,

I have logged 2 issues for that: WJ-7255 (reflect build number in file versions) and WJ-7256 (display version info in wisej designer).
We will inform you when they are resolved.

Best regards
Frank

 

0 votes
In reply to: WiseJ Version Number

Hi Luca,

Before sending you this question, I looked at the properties of Wisej.Core and Wisej.Web, and yes, there is a Version number there (1.0.0.0). What I am looking for is a more specific number being mentioned here when an issue has been fixed like 1.1.88 in https://wisej.com/support/question/uploadfiles-example-doesnt-show-pictures-on-flowlayoutpanel which I think is the nightly build number.

Isn’t there a way to find it?

Thanks,

Cris

  • Cris answered May 10, 2016 - 4:10 pm
  • last active May 10, 2016 - 4:36 pm
0 votes

Hi Bernhard,

thanks for bringing this our attention. I have logged this security as WJ-7254 and we will adress it asap.
I will post an answer when it is fixed.

Best regards
Frank Boettcher

1 vote
In reply to: .Net Developer

Thanks for the detailed answers Luca… excited about this product. In my view it might be a game-changer for the asp.net mvc world, which sorely lacks ui design capability.

Mark

  • Mark Quigg answered May 10, 2016 - 3:43 pm
  • last active May 10, 2016 - 3:45 pm
0 votes

Not yet. It’s on the todo list. It will be a simple autocomplete+suggest.

 

Best,

Luca

  • Luca answered May 10, 2016 - 1:26 am
0 votes
In reply to: WiseJ Version Number

It’s in the properties of the assemblies, it’s the FileVersion. And it will be on the info panel: click the Wisej logo in the designer’s bottom bar. It will popup a dialog with the license info and version info (the version info will be in the next update).

Thanks,
Luca

  • Luca answered May 10, 2016 - 1:25 am
0 votes

Agree. Please do not forget to document it as this behaviour could make someone loose a few hours.

  • Tiago Freitas Leal answered May 9, 2016 - 3:47 pm
  • last active May 9, 2016 - 3:48 pm
0 votes

Solved on release 1.1.88

  • Tiago Freitas Leal answered May 9, 2016 - 3:42 pm
  • last active May 9, 2016 - 3:43 pm
0 votes

That’s by design. If there is html in the text, Wisej will not convert CRLF to <br/> since it assumes that the text is html and the developer wants to decide the formatting of the text. If there is no html in the text then CRLF are converted to <br/>.

Otherwise you’d be forced to put html in one single line and have no control over the line breaks.

  • Luca answered May 9, 2016 - 3:42 pm
  • last active May 9, 2016 - 3:43 pm
0 votes

If you don’t use </br> it works all right. Now try

var testMessage = “Line 1 NL” + Environment.NewLine + “Line 2 BR</br>” + “Line 3”;
MessageBox.Show(testMessage);
AlertBox.Show(testMessage);

and you’ll see Line 1 and Line 2 on the same line.

  • Tiago Freitas Leal answered May 9, 2016 - 3:35 pm
  • last active May 9, 2016 - 3:41 pm
0 votes

Thank you Lukasz, It was a problem with the Desktop container. It’s fixed now.

BTW, in your sample the panel ends up to the bottom right (I don’t know if it was intended). That’s because the code sets the size of the Desktop to a small size and sets the Location of the panel to the bottom right. When the layout starts it will maintain the proportions.

Also, I noticed that the initialization code is written by hand in the constructor. It’s a lot better if you move it to InitializeComponent(), put a call in the constructor, and use the designer. Also, when adding controls to a container, it’s better to use SuspendLayout() and ResumeLayout() on the container to prevent the container to perform the layout on every change.

HTH

 

Best,

Luca

 

  • Luca answered May 9, 2016 - 3:39 pm
0 votes

It has been fixed. You are right, it was a regression.

  • Luca answered May 9, 2016 - 3:36 pm
1 vote
In reply to: .Net Developer

Hi Tiago,

All settings in Web.config work as always. Wisej doesn’t change the standard web pages (html, aspx, cshtml, …) – unlike VWG where the handler took over the page request completely. Wisej’s .wx handler serves one script and processes ajax (http or websocket) requests thereafter.

Look in the Default.html (could be Default.aspx or cshtml, or MyApp.html, makes no difference) and you will find just an empty html page and a <script src=”wisej.wx”/>. How that page is served or authenticated is entirely up to the server (IIS for now).

If the user is authenticated you will find the information in Wisej: Application.IsAuthenticated and Application.UserIdentity.

HTH

Best,

Luca

 

  • Luca answered May 9, 2016 - 3:34 pm
0 votes

Hi Tiago,

this is logged as WJ-7250 and already fixed in the latest build.
Can you please retry ?

Best regards
Frank Boettcher

Showing 11321 - 11340 of 11k results