All Answers

0 votes

The second “Empty Window” is supposed to be “Inherited Window”, that’s why it tries to load the InheritancePickerUI using the designer wizard. There are still problems in the VB.NET templates thanks to the magic of copy & paste. The error loading the wizard is most likely caused by VS loading multiple versions of the same assembly. Usually cleaning the project, closing VS and reopening it works. Make sure you don’t have Wisej.Core.Design and Wisej.Web.Design referenced.

You can find the updated templates here: http://setup.wisej.com/Templates.zip

They go into C:\Users\{User}\Documents\Visual Studio 2015\Templates

ItemTemplates and ProjectTemplates

in \Visual Basic\Wisej and Visual C#\Wisej

  • Luca answered Apr 1, 2017 - 7:18 pm
0 votes

Which build?  I can’t reproduce with the latest.

  • Luca answered Apr 1, 2017 - 6:21 pm
0 votes

If you add the script below to Default.html you can handle any exception on the client side. The InvalidSession exception has the message = “Invalid Session” and a flag invalidSession = true. The message text can be localized, so it’s better to check the flag.

<script>

Wisej.onException = function(ex)
{
if (ex.invalidSession)
location.reload();
}

</script>

As soon as wisej (client) detects an invalid session it will reload the page.

 

  • Luca answered Apr 1, 2017 - 4:46 pm
1 vote

Hi Andrew,

You don’t have to convert css to json. That is necessary only if you want to add custom css to a wisej theme in relation to a widget. See the material theme, it adds a pseudo element to create the animated underline. Everything in Wisej is ultimately standard html and css so you can simply add a css file to your project and either reference it in the starting page (usually Default.html) or add it as an embedded resource.

When you add it as an embedded resource you also have to uncomment (or add) the WisejResources attribute in AssemblyInfo to let Wisej bundle the css files.

I have attached a sample project that shows both approaches. You can remove one of the two. I also added the role attribute to the button html. You can see in the sample that you can easily detect clicks on inner html elements.

 

HTH

Best,

Luca

 

  • Luca answered Apr 1, 2017 - 4:24 pm
0 votes

I don’t know if this is applicable but as a workaround you could tell it to never recycle or increase it to something like a week. The only reason why it really recycles I believe is to solve memory or handle leaks that a software developer might have created. There is actually no need unless you are seeing issues with it running for so long.

0 votes

Hi Shawn,

we updated the ChartJS extension again to now support min and max values for the axes.

Please redownload from our extension page and give it a try.

It will also be included in the next Wisej build.

Best regards
Frank

0 votes

Hi Shawn,

we updated ChartJS extension to support the stacked property for x- and y-axes.

Please download it from our extension page to give it a try.

The updated extension will also be included in the next release.

Best regards
Frank

0 votes
In reply to: Variables

Hi Dave,

maybe I just did not fully understand your needs. Here are various approaches that you can use
to access variables in other windows:

((MyMainForm)Application.MainPage).MyVar

or

Public Shared ReadOnly Property MainForm() As Myapp Get Return CType(Application.MainPage, Myapp) End Get End Property

or

CType(Application.OpenForms(“Window1”),Window1).MyVar

Please note that OpenForms and OpenPages are collections and MainPage can be used as a reference to the main page
if your app created one.

I hope this clarifies it a bit. If it does not, please send a small test app and what you are trying to achieve to
me at frankATiceteagroup.com

Thanks !

Best regards
Frank

0 votes

Hi Shawn,

I think it´s an option for the x-Axes. I´ve logged an enhancement request (WJ-8169).

We´ll inform you when it´s available.

Best regards
Frank

0 votes

Here is maybe a slightly better example using a derived class.

0 votes

Here is some code fragments that might help that I am using at the moment.

 

0 votes
In reply to: Variables

Sorry, I’m probably being stupid. None of those options expose the variables that are set on the startup form. (I cant find them anyway !)

How would you access a variable on the startup form from another form ?

 

 

 

 

0 votes

Hi Stanislaw,

The DataGridView (as well as ListView, FullCalendar etc.) fully supports virtual mode like in WinForms.

However, we didn’t implement shared rows yet. It will be completed shortly (in a few weeks).

The functionality of shared rows will be completely transparent  to the code and virtual scrolling.

Hope that helps.

Best regards
Frank

0 votes
In reply to: TextBox focus bug

Thanks Marian,

I now managed to reproduce that behavior and logged WJ-8168 for it.

We´ll keep you updated.

Best regards
Frank

0 votes
In reply to: Issue w/ Split Button

Thanks very much!  I will try out the new build as soon as I can.

Appreciate the help.

0 votes

Thanks Andrew.

I have logged WJ-8166 for that issue.

Best regards
Frank

0 votes

Hi Felix,

thanks, I have logged issue WJ-8165 for it.

Best regards
Frank

0 votes

Hi Felix,

can you please send the file to frankATicetegroup.com so I can take a look at it ?

Thanks in advance.

Best regards
Frank

0 votes

Hi Shawn,

I have added an enhancement request to set min/max values for y-axes. (WJ-8164).

We´ll keep you updated.

Best regards
Frank

0 votes

Hi Andrew,

it seems this functionality is currently not exposed. I have added an enhancement request WJ-8163 for it.

Maybe you could close and recreate the connected marker as a work around ?

Best regards
Frank

Showing 9301 - 9320 of 11k results