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.
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
Luca, Frank,
Thanks for quick response.
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.
Thank you again. There was something that didn’t feel right about those callbacks…
This is how we solved it:
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
Hi Cris,
both issues have been fixed in the latest build that has just been uploaded.
Best regards
Frank
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
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
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
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
Not yet. It’s on the todo list. It will be a simple autocomplete+suggest.
Best,
Luca
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
Agree. Please do not forget to document it as this behaviour could make someone loose a few hours.
Solved on release 1.1.88
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.
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.
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
It has been fixed. You are right, it was a regression.
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
Hi Tiago,
this is logged as WJ-7250 and already fixed in the latest build.
Can you please retry ?
Best regards
Frank Boettcher
