All Answers

0 votes
In reply to: Brotli question

Hi Luca,

thanks for your answer!

 

I’m missing the part where on WebSocket, compression is done regardless of browser support.

Now all make sense!

 

 

0 votes
In reply to: Brotli question

Brotli works the same with http and https. In your screenshot the compressed frames are the yellowish ones that say “Binary Message”.

Wisej uses http for data paging (just downloads) and websocket for everything else. The brotli extension compresses all http and https responses larger than 2048 if the browser supports it and all websocket responses larger than 2048 regardless of browser support since the decompression is done by Wisej.

To compare the sizes you’d have to remove the Brotli assembly and compare the websocket binary frame sizes.

  • Luca answered Jun 7, 2019 - 3:38 pm
0 votes

Thanks. Logged as #1902. It works on the server but doesn’t update the client. This is a  quick workaround:

public class MyErrorProvider : ErrorProvider
{
    protected override void OnWebRender(dynamic config)
    {
       base.OnWebRender((object)config);
       if (!this.Haserror)
           config.errors = null;
    }
}


  • Luca answered Jun 7, 2019 - 3:01 pm
1 vote

Hi Carl,

This is a VS/Monitor issue, but this link might be useful: https://code4ward.net/2016/11/29/visual-studio-winforms-designer-on-highdpi/

or

https://docs.microsoft.com/en-us/dotnet/framework/winforms/disable-dpi-awareness-visual-studio

Let me know what works for you!

Best regards,

Levie

1 vote

Yeah, is almost impossible for a designer to use this without guessing on the number of pixel to use

0 votes

Resolved – shutting down VS2019 and launching a second time resulted in the license wizard appearing.

0 votes

ApplicationRefresh is fired every time an existing app is reloaded in the browser (refresh button, change or URL).

Application.HashChanged is fired when the hash string of the URL is changed.

If you have created the tab with a name using window.open() then you can keep using window.open() with the same name.

 

  • Luca answered Jun 6, 2019 - 11:14 pm
0 votes
In reply to: Element Dock Order Bug

The order is the control index order as in winforms. The z-index is moving away from the observer from the center away. When you add a control that is docked on top it will be docked on top as the first control. Use BringToFront() to dock on top as the last control.

  • Luca answered Jun 6, 2019 - 10:39 pm
0 votes

Hi Jorge,

In WinForms the items show up when you click the bar.  In Wisej, you can click “Edit Items” to see all of the items.

Thanks for sharing, we might look into implementing this somewhere down the road, but it isn’t a big issue as of now.

We’ll keep you updated!

Best regards,

Levie

0 votes

Thank you Luca, its hard because its the production environment, but I’ll see if we can get that.

0 votes

HI,

so if I have two browser tabs opened, how can I call already opened and running app?

As .ApplicationRefresh and .HashChanged should be referencing existing already running app ?

Thanx,

DiNo

 

0 votes

You can read the URL arguments and URL using the properties from the Application object:

https://wisej.com/docs/2.0/html/T_Wisej_Web_Application.htm

Look at QueryString.

You can also use the Hash property for the hash string.

You can detect changes for an existing session attaching to Application.ApplicationRefresh or Application.HashChanged.

HTH

 

  • Luca answered Jun 6, 2019 - 3:47 pm
  • last active Jun 6, 2019 - 3:47 pm
0 votes

Dear All,

thank you very much for your answers.

I’ve found a solution by using the HTML Panel.

However, in order to view an RTSP stream, it is necessary to transcode the stream itself to be viewed via HTML (through the HTML panel).

At the moment, just to validate the concept, I used VLC to perform the transcode.

I will study for solutions more professional than VLC

 

  • Angelo Bordonaro answered Jun 6, 2019 - 2:52 pm
  • last active Jun 6, 2019 - 2:54 pm
0 votes

If you enable debug mode the messagebox with the error shows the stack trace. Or you can also see the stack trace in chrome’s console. Can you please send it?

  • Luca answered Jun 6, 2019 - 1:53 pm
0 votes

ActiveX controls are supported on in IE11. Use an IFramePanel to load the HTML and the ActiveX.

You can also use any javascript based RTSP viewer.

  • Luca answered Jun 6, 2019 - 1:51 pm
-1 votes

Any change to the data source is reflected in the grid automatically. Recreating the data source doesn’t do anything unless you assign it back to the datagrid. Can you send a small test case showing the code you are using?

  • Luca answered Jun 6, 2019 - 1:50 pm
0 votes

Try datagrid1.EditMode = EditOnEnter. There is no need to create textboxes for each cell, the grid does it when it enters edit mode.

  • Luca answered Jun 6, 2019 - 1:48 pm
0 votes

Hi Frank,

I’ll try to get a sample together, but I’ve attached a screenshot of what I’m aiming for which may explain it better

The top row in the grid has a textbox in every cell. You enter values and hit return and it adds the row.
These boxes are active, have a visible border and you just need to single click inside them to start typing.

I have tried to insert a row by adding text boxes:

var editrow = new DataGridViewRow();
foreach(var column in this.Columns)
{
var cell = new DataGridViewTextBoxCell();
editrow.Cells.Add(cell);
}
this.Rows.Insert(0, editrow);

This works as far as there are textboxes, but they do not have any kind of border nor can they be typed into until the user double clicks in the cell.
I need to have all of the text boxes in the row active, clearly visible (like the attached screen) with a border and typeable into without needing to double click in a cell.
I’m sure there’s something simple I’m missing 🙂

I hope that makes more sense.

Thanks,

Andi

1 vote

try to drop the datagrid then recraete a new one with the same option and update datasource

  • Huv answered Jun 6, 2019 - 9:27 am
0 votes

have you tried to use a javascript panel with directx code?

If you want to use this way use direct x 12, 9 is deprecated and use the old thing is useless in technologic advancment field like informatics

  • Huv answered Jun 6, 2019 - 9:25 am
Showing 5841 - 5860 of 11k results