All Answers

0 votes
In reply to: BingWallpaper issue.

Good catch Tung, thanks.

We have logged bug WJ-8008 for it and will inform you when it´s fixed.

Best regards
Frank

0 votes

Hi Felix,

what you are observing is intended behavior.
Due to security reasons the Download function is restricted to the applications project directory to avoid spoofing of external URLs.

It works with the PDF viewer as its path is directly provided by your application.

If you need to make it work with a file outside your project directory you need to use a stream for it.

Hope that helps.

Best regards
Frank

0 votes

Hi Tung,

Thank you for the feedback. Please find my answers below:

  1. Grouping can be added easily on the server side, but it’s harder to render on the client since the ListView control in item view uses a virtual widget system. We can look at it after other controls in the TODO list. Let me know if having the properties and methods (without rendering for now) would help you.
  2. Yes we can add binding – we have a number of requests for this already and we are actively working on it.
  3. Added as a enhancement request. WJ-8004
  4. .Added as well for ListView in Details view only – WJ-8005

HTH

Best,

Luca

  • Luca answered Feb 6, 2017 - 2:52 pm
0 votes

Hi Mark

sorry for that. We had temporarily allowed answering of questions for registered users only due to a larger volume of spam.

We have now reenabled that feature.

Best regards

Frank

 

0 votes

ListView1.MultiSelect = True

ListView1.CheckBoxes = True

 

So… strange…

In the sample Wisej.SelectItem if i put in “details” view and add a column, I can see the boxes.

But in my project i have exactly the same options in my ListView and the boxes are not visible.. is not showing the boxes.. 🙁

I tried to copy exactly the same ListView of your sample to my project and not… i can’t see the boxes in the ListView..

 

So strange, because i checked one by one of the properties and are exactly the same.

 

Some idea? maybe the theme…?

 

For my project the best solution will be to fix the multiple selection dynamically on “LISTBOX”..

But my other option for now maybe is the ListView but I have this problem that i can’t see the checkboxes.

 

Thanks

 

 

  • Mark Villela answered Feb 4, 2017 - 11:58 pm
0 votes

 

 

In your sample (i’m using “details” view and added a column) Wisej.SelectItem if I put…

ListView1.MultiSelect = True

ListView1.CheckBoxes = True

The ListView show the boxes, but in my code (with the same options) don’t show the boxes.

I also tried to copy exactly the same ListView from your sample to my project.. but still don’t showing the boxes..

Some idea?

 

The ideal will be that the ListBox should work good the select options.. incluiding the “multiselection”.

 

Thanks.

 

 

 

 

  • Mark Villela answered Feb 4, 2017 - 6:57 pm
0 votes

Hi,

It works from my side. I take the checked items from ListView1.CheckedItems

On loading, set :

ListView1.MultiSelect = True

ListView1.CheckBoxes = True

 

0 votes

Got it! Logged it as WJ-8003. Unfortunately I don’t have an easy workaround.

  • Luca answered Feb 3, 2017 - 4:39 pm
0 votes

 

Ok, I know the problem (difference between SelectionMode “One” and “MultiSimple”).

The problem is that my function to fill the ListBox is in the “Load” event of my form… maybe is the time to draw the selection.

Curiously the “One” work in the Load event, but not “MultiSimple”.

With MultiSimple………

If I put a button for select the item, this works.

If I put a timer for select the item (in the Load event), this works…. (This will be my solution for now).

 

You can try, also is the same problem in your attached code.

 

Thanks.

 

  • Mark Villela answered Feb 3, 2017 - 4:19 pm
0 votes

 

 

So strange… in your code works!, but in my code only works with the “One” option.

  • Mark Villela answered Feb 3, 2017 - 4:04 pm
0 votes

Can you reproduce with the sample I have attached?

I added SelectionMode=SelectionMode.MultiSimple to both the ListView and ListBox in the sample and still works. Maybe it was fixed in the current code base.

  • Luca answered Feb 3, 2017 - 3:50 pm
0 votes

Items in a ListBox don’t have properties, they are usually just strings. If you use objects as items they are just objects that return a string. That’s the standard behavior of list boxes.

However, the items on the client (in the javascript widget of the listbox) can be hidden. So:

If you filter on the client, and you want to hide item 3, for example:

listBox1.getChildren()[3].exclude(); <– used exclude(), not hide() otherwise the item will be hidden but still used for the layout.

If you filter on the server, you have to remove the item:

this.listBow1.Items.RemoveAt(3);

 

  • Luca answered Feb 3, 2017 - 3:46 pm
1 vote

Got it. I thought you meant the normalized location and size. That behavior is by design, the restore() function in the javascript library restores the window to the normalized (non-maximized) location and size. Will add an enhancement request.

  • Luca answered Feb 3, 2017 - 3:41 pm
0 votes

The PdfViewer is a great control, it allows you to pick the pdf viewer to use. You can use the one built in the browser, or force it to use google pdf viewer or even use a full javascript pdf viewer (pdf.js). It’s all already there.

We also have already added Application.DownloadAndOpen() in the current dev build: http://setup.wisej.com/builds/notes/Wisej%20Release%20Notes-1.3.27.htm.

 

  • Luca answered Feb 3, 2017 - 3:39 pm
1 vote
In reply to: Windows Tile control.

That tile control. Got it. We don’t have it on the roadmap but it can be added. Should be relatively easy to implement already with a UserPanel and a layout engine. Controls already support being dragged and resized.

We already developed something like this for a project that we did using VWG. I will add an enhancement and see if we can get some minimum requirements.

 

  • Luca answered Feb 3, 2017 - 3:37 pm
0 votes

Hi Ser Gar,

Maybe PdfViewer control will help.

Hope this works.

  • Cris answered Feb 3, 2017 - 7:35 am
0 votes

Hello Luca

Please follow steps in your test case:

  1. Create a new window
  2. Maximize it
  3. Minimize it
  4. Click its icon in the taskbar. The window is restored as maximized, but in the original state instead.
0 votes
In reply to: Windows Tile control.

Hello Luca,

I mean this:

“Tile Control is the navigation control, inspired by the Windows Modern UI. The Tile Control’s primary building blocks are tiles – informative boxes that due to their size and geometry are capable of presenting much more information than simple buttons and more suitable to be used with touch-enabled devices. Not only can tiles be static elements, they can also be turned into live tiles. Live tiles change their content in an infinite loop with an optional animation effect that follows a content change. The following animation illustrates a customized Tile Control.” (source)

 

0 votes

Hey Luca,

Must be something different in the threading because your sample works fine and I can only break it by doing something I wouldn’t be doing with the other app. I assume it’s because the your threads are still started by a user input rather than the server.

I’ve attached the IRC app.  Since I had switched the DataGridview I was using for the NickList to a ListBox when it wasn’t working, I don’t still have that part to test, but I do have the regular control addition.  On an event like ircClient1_LocalUser_JoinedChannel, it will call AddNewChanLbl, which will just add a label to the upper left corner of the form.  JoinedChannel will get raised automatically on a login, so you can either login with the uname/pwd combo in the form load, or just change the “autologin” setting in the web.config to true.  In either case, the label will not appear.  If you click the Add Label button though, one will.

Thanks,

Chris

0 votes

 

 

Ok for now is possible with the style property on an a html element.

 

Thanks!

  • Mark Villela answered Feb 3, 2017 - 2:00 am
Showing 9641 - 9660 of 11k results