All Answers

0 votes

Check these entries in regedit:

for VS2013

HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\12.0_Config\ToolboxControlsInstaller

for VS2015

HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0_Config\ToolboxControlsInstaller

They should contain the Wisej toolbox entries. If the 14.0_Config is missing it means that the installer didn’t add the items for VS2015 (maybe the VS2015 checkbox wasn’t checked). In this case you can rerun the installer and select Repair.

If the entry is present, you can right click on the toolbox and select “Reset”. The items will be reinstalled automatically.

HTH

Best,

Luca

  • Luca answered Jun 9, 2016 - 3:19 pm
0 votes
In reply to: PNG icons

Yes, absolutely.

The first version of our themes were all done using png icons. We then enhanced qooxdoo to support SVG icons and dynamic colors on the xml definition.

the problem with png icons is that you need several versions of each and they don’t scale well on hi def displays. When using SVG icons their main color can be changed depending on the state instead of changing the actual icon.

All images are preloaded and cached. SVG icons are cached as XML elements and the their fill color is updated when setting the icon. The fill color can be the color of the widget or set in the theme.

Best,

Luca

  • Luca answered Jun 9, 2016 - 11:40 am
0 votes
In reply to: VB.NET support

Hi Serkan,

we fully support VB.NET.

All templates are available for C# and VB.NET.

Please let us know if there is anything specific missing that you are looking for.

Best regards
Frank

0 votes

Yes, my bad. It was like that but it was changed. Now the new set of arguments is updated instead of reloading a new session. This lets your code process different arguments in the URL without recreating the session. Changing the URL causes a reload anyway. You can get notified of a refresh or change of arguments by attaching to:

Application.ApplicationRefresh += ...

The arguments in the URL are available using this collection:

Application.QueryString

 

If you use “sid” and “cookieless” is false when you hit refresh Wisej will always start a new session since sid is invalid. In fact that is a “trick” to use when debugging to force the start of a new session. I add “?sid=new”.

  • Luca answered Jun 8, 2016 - 10:00 pm
  • last active Jun 8, 2016 - 10:00 pm
0 votes

Hi Luca,

I’ve tested the ways you explained,

“cookieless sessions” option runs very well as you explained.

On the other hand, may the first option run a bit different? If I use url argument name “sid” with any value (sid=1, sid=anyvalue) it’s ok, every tab starts a new context/session  from the beginning as the first option. But if I use random argument name and value (abc=1, xyz=anyvalue),  new tabs starts with previous tab’s state.

Serkan,

  • SERKAN AKTÜRK answered Jun 8, 2016 - 9:41 pm
0 votes

Hear, hear

  • Tiago Freitas Leal answered Jun 8, 2016 - 8:22 pm
0 votes
In reply to: Why Wisej.Data?

Hi Tiago,

after internal discussions we decided to follow your suggestion and changed Wisej.Data to WiseJ.Web.

It´s logged as WJ-7327 and fixed in beta build 1.2.10

Thank you for your input.

Best regards
Frank

0 votes

Hi Serkan,

thank you. This issue is logged as WJ-7326 and fixed in beta build 1.2.10 that has just been uploaded.

Best regards
Frank

0 votes
In reply to: Beta Updates

A new build is available (1.2.10). It includes the following fix and enhancement.
Please note the namespace change !

Item Type Priority Severity Title Resolution
WJ-7326 Bug High Major Adding a control at runtime as a child of unselected TabPage
will not show the control when the page is selected.
Complete
WJ-7327 Task Medium Trivial Change databinding namespace from Wisej.Data to Wisej.Web to keep a consisent namespace. Complete

 

1 vote

Yes, there are two (maybe more) ways:

  • Wisej creates a new session when the arguments in the URL are different. So you can create a new session simply by adding ?any_name=a_new_value. i.e. http://localhost/myapp?session=13124, http://localhost/myapp?session=877348… the number or string can be random, a timestamp, a gui, your own value. Wisej will preserve the session on a refresh when the URL matches.
  • Other way (similar to VWG): you can enable cookieless sessions in the app JSON: “cookieless”: true. When the session starts Wisej will add it to the URL. http://localhos/myapp becomes http://localhos/myapp?sid=fd12b081-5d4a-4cae-a513-47543f694f4c. This is preserved on a refresh. But you type or link the url to a new tab, Wisej automatically creates a new session and adds it to the URL.

HTH

Best,

Luca

  • Luca answered Jun 8, 2016 - 6:23 pm
0 votes

I contacted you directly.

  • Luca answered Jun 8, 2016 - 3:06 pm
0 votes

Hi Luca,

It would be good to solve it, so what is the webex session?

Alex

  • Alex Prinias answered Jun 8, 2016 - 2:49 pm
0 votes

Hi Alex,

I tried with up to two nested UserControl containers added to your test but cannot reproduce.

UserControl uc = new UserControl() {
    Size = new Size(300, 300),
    BorderStyle = BorderStyle.Solid
 };
 UserControl uc2 = new UserControl()
 {
    Size = new Size(300, 300),
    BorderStyle = BorderStyle.Solid
 };
 uc.Controls.Add(tabPages);
 uc2.Controls.Add(uc);
 sc.Panel2.Controls.Add(uc2);

I also tried to put the tabtxtID in a UserControl in a tab page in a TabControl in a UC in another UC in the SplitPanel in the SplitContainer… 🙂

The initial state is correct, only toplevel containers start with Visible=false. When they transition to visible the first time you get the creation, OnLoad, etc. If you create a standalone non-toplevel control it’s created when you call Show() or when it is added to a visible or created container.

Make sure that the Wisej.Web assembly is updated and that the project is not using a cache previous build. I’m also available to setup a remote webex session, if you are available please let me know directly.

Best,

Luca

  • Luca answered Jun 8, 2016 - 2:29 pm
0 votes

Hi Alex,

I tried with up to two nested UserControl containers added to your test but cannot reproduce.

UserControl uc = new UserControl() {
    Size = new Size(300, 300),
    BorderStyle = BorderStyle.Solid
 };
 UserControl uc2 = new UserControl()
 {
    Size = new Size(300, 300),
    BorderStyle = BorderStyle.Solid
 };
 uc.Controls.Add(tabPages);
 uc2.Controls.Add(uc);
 sc.Panel2.Controls.Add(uc2);

I also tried to put the tabtxtID in a UserControl in a tab page in a TabControl in a UC in another UC in the SplitPanel in the SplitContainer… 🙂

The initial state is correct, only toplevel containers start with Visible=false. When they transition to visible the first time you get the creation, OnLoad, etc. If you create a standalone non-toplevel control it’s created when you call Show() or when it is added to a visible or created container.

Make sure that the Wisej.Web assembly is updated and that the project is not using a cache previous build. I’m also available to setup a remote webex session, if you are available please let me know directly.

Best,

Luca

  • Luca answered Jun 8, 2016 - 2:29 pm
0 votes

Hi guys,

Well, unfortunately the problem is exactly as it was in my main project! 🙁 The toy project I sent you works indeed, but not my main project.

Since there I have a more complex structure of containers, all contained in a top Page, search whether this wrong initial state you discovered is correctly transferred to other container objects. I would suggest the UserControl, since I wrap my components in UserControls.

Sorry for that,
Alex

 

  • Alex Prinias answered Jun 8, 2016 - 5:13 am
0 votes
In reply to: Why Wisej.Data?

The templates need to be updated for sure. Good catch!

The reason for Wisej.Data is what you wrote. The data binding is shared between Wisej.Web and Wisej.Mobile.

Best

Luca

  • Luca answered Jun 7, 2016 - 11:43 pm
0 votes

Hi,

All 3 issues are fixed. Thanks.

  • Tiago Freitas Leal answered Jun 7, 2016 - 10:59 pm
0 votes

There is plenty of documentation today:

  • Concepts from Configuration to Designer
  • Namespaces – I guess most of it is available now
  • Tiago Freitas Leal answered Jun 7, 2016 - 10:35 pm
0 votes

Tiago,

for your convenience I have attached your latest sample with the namespace changes.

For components you can use either System.ComponentModel.Component or Wisej.Web.Component.

In your case it’s better to use System.ComponentModel.Component since it only lives on the server side.
Wisej.Web.Component works the same but are also registered with the ComponentManager which manages the server/client components.

Hope that helps.

Best regards
Frank

0 votes

No you always need it or it won’t compile.

  • Luca answered Jun 7, 2016 - 8:22 pm
Showing 11141 - 11160 of 11k results