All Answers

0 votes
In reply to: Hide MDI tabs

Hi Ulisses,

you can use for example a mixin theme and set the height of the header to 0.

In attached example you can toogle between the 2 opened windows with the help of ComponentTools.

Best,

Jens

 

  • Jens (fecher) answered Mar 4, 2019 - 6:52 am
  • last active Mar 4, 2019 - 6:52 am
0 votes
In reply to: Icon Pack

Hi Angelo,

did you read our blog article about IconPacks ?

https://wisej.com/blog/visualstudio_iconpack/

It should answer your question.

Best regards
Frank

0 votes

Hi Frank,

thank you, it works!

Regards

Cristian

0 votes

Hi Ewan,

thanks. This issue is logged as #1826.

Best regards
Frank

0 votes

Hi Cristian,

you have to use the latest web.config as included in the project templates of Wisej 2.
You can add the following to your web.config:

<system.web>
<httpModules>
<add name=”Wisej” type=”Wisej.Core.HttpModule, Wisej.Framework”/>
</httpModules>
</system.web>

And

<system.webServer>
<validation validateIntegratedModeConfiguration=”false”/>

Best regards
Frank

0 votes

Hi Simone,

thanks, this issue is logged as #1819 and a fix will be included in the next Wisej release.

Best regards
Frank

0 votes

Hi Ewan,

I added some basic support for ComboBox cols, see updated versions in GitHub.

Best regards
Frank

0 votes

Hi Frank,

thanks for your sample!

I have apply your workaround to the main project and seems to work.

 

 

If you have any update, please let me know.

 

0 votes

Hi Simone,

please find attached a reworked version of your code.
In general the following construct ensures that the code is run in context and the client is updated when the code finished:

Application.Update(this, () =>
{
}

We´ll investigate your code closer to see why the session is cleared.

Best regards
Frank

0 votes

Hi Frank

The issue occurs when you attempt to use the where version of the filter.

It also occurs if you attempt to use a filter col with a custom column such as a multi combo column, with both versions of the filter.

See attached image which is now using the value column instead of the display column

Also the system.linq.dynamic.dll needs added to the DLLs in the Wise J build otherwise you have to get a copy of it to reference.

Thanks for Your Help Ewan

  • Ewan Walker answered Feb 25, 2019 - 8:46 am
  • last active Feb 25, 2019 - 8:55 am
0 votes

Hi Ewan,

I am not sure I understand your question/issue.
Please find attached a small sample with a ComboBox column and a simple column filter attached to it:

columnfiltercombo2

columnfiltercombo1

Best regards
Frank

0 votes

Thanks Eric,

this issue is logged as #1810 and will be fixed in the next release.

Best regards
Frank

0 votes

Add this to Default.html. It will abandon the session when navigating, closing the tab, refreshing, hitting F5, or editing the URL. The alert behavior is different for different browser and some may or may not show the alert when refreshing. I think this is the wrong thing to do for a web application, but in Wisej you can do anything you’d like to do using standard browser functionality…

 <script>
   window.addEventListener("beforeunload", function (e) {
     e.preventDefault();
     e.returnValue = false;
     return "Are you sure?"; // this shows only in IE.
   });
   window.addEventListener("unload", function (e) {
    Wisej.Core.exit();
    Wisej.Core.removeSession();
   });
 </script>

 

  • Luca answered Feb 22, 2019 - 4:21 pm
  • last active Feb 22, 2019 - 4:21 pm
0 votes

Hi Andrew,

you can create modal dialogs and modal messageboxes setting modal:false.
Then they act modal only on the client.

Apart from that there is no way to get a reference to the message box instance.

Hope that helps.

Best regards
Frank

0 votes

Hi Joe,

it is not possible for Wisej and also for any other application which runs in a browser to determine when user closes the browser.

One way to show up a warning, when the user tries to leave the page is described here.

The problem in this solution is, that the unload event is also fired when the user refreshes the browser. And on server you cannot distinguish if the browser was closed or the user just hit F5.

But you can add for example a button to your app which will call Appliaction.Exit(), this will terminate the application and the corresponding session.

When the user leaves the page or closes the browser, Wisej will also terminate the App and the session after twice of SessionTimeout. SessionTimeout you can configure in Default.json.

Best,

Jens

0 votes

Thank you Nic Adams, I’m sorry, that’s not what I want to know. I reformulated my question, please, could you answer again?

  • Jeo dg answered Feb 22, 2019 - 11:37 am
  • last active Feb 22, 2019 - 11:38 am
0 votes

Hi Jeo,

If you mean what happens when a user closes their browser then eventually you should get the Application.Exit event fire if you want to do something specific, otherwise you can leave it to WiseJ to clean up the users session.

HTH

Nic

 

 

0 votes
In reply to: IOC containers

Currently using WiseJ with DryIOC. I’ve used the Winforms pattern but created some factory classes for UserControls and Forms.

0 votes

I see Luca has been and fixed this.

Thanks

Nic

  • Nic Adams answered Feb 22, 2019 - 10:16 am
  • last active Feb 22, 2019 - 10:25 am
0 votes
In reply to: IOC containers

Use the WinForms or WPF samples. I’m assuming the Container implementation is synchronized since they always declare it as static.

One error in the samples in the link is that it replaces the parameterless constructor. You can add and overload the constructor with the parameters receiving the different implementations, but always keep the parameterless constructor for inheritance and the designer.

And you have to be careful if you register a singleton since it will be reused by different sessions. Another way would be to create the container as a session instance instead of a static. In this case the singleton will be recreated in each session.

  • Luca answered Feb 21, 2019 - 8:58 pm
  • last active Feb 21, 2019 - 8:59 pm
Showing 6201 - 6220 of 11k results