All Answers

0 votes

It probably means that the proxy is blocking the http request. You can activate from a server (or development machine) that has access to the internet and allows http requests to wisej.com and then copy wisej-server.lic with your project. The file is created in the same project folder.

Best,

Luca

  • Luca answered Nov 21, 2016 - 3:36 pm
0 votes

Hi Marco,

Yes, I agree. We have about 4 or 5 templates to add. However, the Web Application template is meant to be used as the starting point only. You can delete Window1 and add a Page, you can add multiple pages and/or multiple windows. In Program.Main() add:

new Page1().Show()

or

Application.MainPage = new Page1();

Both lines do the same.

Best,

Luca

  • Luca answered Nov 21, 2016 - 3:35 pm
0 votes

Hi Luca,

Yes, both MouseEnter and MouseHover work so with MouseLeave. But they only work on the body of the Panel. What I am looking for is an event when the mouse is over the Header of the Panel or thru javascript.

I am using a simple code as:

private void panel2_MouseLeave(object sender, EventArgs e)
{
    panel2.BackColor = System.Drawing.Color.White;
}
 
private void panel2_MouseEnter(object sender, EventArgs e)
{
    panel2.BackColor = System.Drawing.Color.BlanchedAlmond;
}

Thanks and have a nice weekend.
  • Cris answered Nov 18, 2016 - 6:27 pm
0 votes

WJ-7809: Bug: Cached rows in a DGV control may lose the background image when retrieved from the cache.

WJ-7810: Enhancement: Add ImageLayout.BestFit and ImageLayout.OriginalSize.

Let me know about the drag&drop issues, I can’ reproduce that one.

Thanks,

Luca

 

  • Luca answered Nov 18, 2016 - 6:24 pm
0 votes

Yes, I see. The problem is that the theme sets the background image at 24px 24px because of svg icons, otherwise svg icons are all quite big when using their natural dimension. The BackgroundImage property was added originally to support icons in cells. I have to see if we can override the theme without having to create a mixin under a combination of properties that makes sense.

About the other issues:

  • drag & drop is working find with the sample you sent, what error do you get?
  • I can reproduce the problem with the images not being rendered.

 

Logged both issues.

Thanks,

Luca

  • Luca answered Nov 18, 2016 - 5:13 pm
0 votes

Hi Luca

But then the ascpect ratio of the image is not properly displayed as you see in Column2, Column1 (with AllowHTML=true and a image url, but then DragDrop does not work) shows the image properly.

And the other problem with the background image not shown in the first screen, you dont’t see? Pleas have a look on the attached screeshot

1 vote

This is fixed, it was a wrong redirection on the wordpress side.

  • Luca answered Nov 18, 2016 - 4:05 pm
0 votes
In reply to: Solved: AspNetControl

Hi Ewan,

See attached modified sample. The control now has an IsLoading property and fires the event IsLoadingChanged. The code is simple but tricky because the viewer runs inside a frame. I also added a fun animation to test the IsLoadingChanged event.

http://demo.wisej.com/apps/reportviewer.html

The code in the sample shows how to add all sorts of events and properties.

Best,

Luca

  • Luca answered Nov 18, 2016 - 4:01 pm
0 votes
In reply to: Solved: AspNetControl

Hi Luca

I have added a script  to the ScriptManager  to capture the isLoading event from the report Viewer client api by making use of the WrappedControl.ID

How do I fire an event back to C# when isLoading is false in such a way that I can raise an event in C# to indicate Rendering is complete?

(See the attachment on my original post to see how it was dome in VWG)

Thanks for your help

Ewan

 

 

  • Ewan Walker answered Nov 18, 2016 - 2:25 pm
  • last active Nov 18, 2016 - 2:27 pm
0 votes

It seems to work well. The problem is that you can’t zoom and center at the same time. I tried your sample, commented out the zoom line and this is what I get using MiddleCenter:

 

  • Luca answered Nov 18, 2016 - 2:23 pm
0 votes

Thank you.

  • Luca answered Nov 18, 2016 - 2:11 pm
0 votes

We can add it, I have added enhancement WJ-7805. We already have cell, row, column context menus for the grid (which is used as the details view). For the item view is a bit different, but it’s easy to add.

ETA, early next week.

As a side note: VWG created actual components for each ListViewItem and rendered them individually as if they were controls, like a button, for example. It didn’t have data stores. Wisej uses common concepts in the world of javascript widgets and controls like the datagrid and listview are connected to a data store object that requests data pages from the server as needed using async http requests, the the visibile area on the client is rendered using a fastdom technique.

Best,
Luca

  • Luca answered Nov 17, 2016 - 4:50 pm
0 votes

It’s there already. The correct events in the TabControl are Selecting and Selected, and Deselecting and Deselected. TabIndexChanged is also there already. TabIndexSelecting didn’t exist in WinForms, I don’t know why VWG changed the name of the event.

Best,
Luca

  • Luca answered Nov 17, 2016 - 4:24 pm
0 votes
In reply to: Splitter control

The splitter control was deprecated very early on in Winforms because it was built by simply docking a control (the splitter) and trying to deduct what was on the left and right. And it couldn’t mix will with other splitters. With Wisej is relatively easy to emulate the single splitter behavior by using the ResizableEdge property and set one of the resizable edges of the control docked to the left (or top). The other will automatically resize.

Implementing a splitter control that attached to the left (or top) and manage all the rest that comes with it, minimum location, drag & drop and pointer capturing, events is a lot of work. It’s easier to convert it to a simple panel just to have the spacer and use the ResizableEdges feature already built-in, or replace it with the SplitContainer.

See attached sample app.

HTH

Best,
Luca

  • Luca answered Nov 17, 2016 - 4:19 pm
0 votes

Setting enableWebSocket to true fixed the problem.

Thank you.

 

0 votes

Hi Jim

we just noticed that websockets are disabled in the demo download (probably due to some tests we did).
We´ll update the sample.

Can you please retry after setting

enableWebSocket to true in default.json ?

Best regards
Frank

0 votes

Hi Luca,

I thought (just for fun) I’d update the background tasks example for Jim but even though the buttons and the notification are now working the canvas element is not updated.

Even though my timer is only ticking every 100ms I would still expect to see an update every now and then but nothing happens.

Is there something else required for canvas?

Thanks

Nic

0 votes

It may not work if your server doesn’t support WebSocket. You need either Windows 8 or Server 2012 minimum. Otherwise it’s only http and the task cannot update the client. In that case you’d need to add  timer.

http://demo.wisej.com/apps/backgroundtasks.html

  • Luca answered Nov 17, 2016 - 2:52 pm
0 votes

Yes, it will be implemented with the cell and column selection modes that are not currently supported.

  • Luca answered Nov 17, 2016 - 2:28 pm
0 votes
In reply to: Solved: AspNetControl

Hi Luca

If you have a long running report you still get the session timeout message, presumably because you are not interacting with the Iframe just waiting for the report to complete. (Using AysncRendering)

Thanks for your help

Ewan

Showing 10101 - 10120 of 11k results