All Answers

0 votes
In reply to: Office Document Viewer

hi Wisej Team

Does the OfficeViewer is working?

i’m having problem while testing the example over the internet.

The url example :  http://demo.wisej.com/officeviewer

is also broken.

thank in advance ,

Orel

1 vote

Try this:

this.iFramePanel1.Eval(“this.getContentElement().setAttribute(‘allow’, ‘microphone camera’)”)

Can call it on loading or the ControlCreated event.

To call it again on Refresh (widgets are recreated from scratch) you can attach to the ((IWisejComponent)this.iFramePanel).Updated event and set the attribute again.

Will log to add a property “Allow” to the IFramePanel control.

  • Luca answered May 21, 2018 - 4:33 pm
0 votes

Thanks Mark!

Awesome extension.

Orel

0 votes

Hi Frank,

I did an example project to explain the steps

I’ll list the steps I’ve done.
I made screenshots of an example
1- Create new WeDesktop application (screenshot 1)
2 – Open Windows1 and show in IDE (screenshot 2)
3 – Rename Windows1 in Windows2 while it is open (screenshot  3). Rename work fine
4 – Close Windows2
5- Rename Window2 in Windows3 (screenshot  4)
5- Open Windows3 generates an error (screenshot 5)
6- Close error windows and windows3 no longer works.

The problem seems to occur when renaming a window if it is not open in the IDE
I hope I have been clearer

Thanks

0 votes

Hi Robin,

Please find attached your sample re-written, using Luca’s suggestions

0 votes

It should have been fixed. Can you reproduce with the latest build? The problem was that some mobiles browsers use touch event ids that are bigger then max int. Now Wisej uses always a long.

  • Luca answered May 19, 2018 - 6:24 pm
0 votes

There is a better way to change the language now, you can assign it directly in code:

Application.CurrentCulture = CultureInfo.GetCultureInfo(“en”);

or

Application.CurrentCulture = CultureInfo.GetCultureInfo(“fr”);

However, please keep in mind that once an object has been created and localized Wisej cannot force a new creation (it would break anyone’s code) of all forms and controls. It’s up to your app to decide what to do if the language is changed after localized controls have been created. You can listen to the Application.CultureChanged event for that.

For the case attached, it’s enough to do this:

Application.CurrentCulture = CultureInfo.GetCultureInfo(“fr”);

Application.Reload();

Also, the URL remains “clean” without the lang parameter.

 

  • Luca answered May 19, 2018 - 6:21 pm
0 votes

Hi Mark, thanks!

Great to see working examples.

 

The XTerm will come in handy.

I would have tried to merge the Wisej.Web.Ext.XTerm with ConsoleControlAPI into one assembly, so to reduce the number of interdependent projects.

Also need to add tab auto-completion and the backspace was not working as expected on my first try.

 

Kizaemon

  • Kizaemon answered May 19, 2018 - 4:19 am
0 votes

Hi Kizaemon,

WJ-8939 is also fixed in Wisej release (1.4.95).

Best regards
Frank

0 votes

Hi Mariano,

issue WJ-8938 is fixed in our latest Wisej release (1.4.95)

Best regards
Frank

0 votes

Hi Cristian,

this issue is fixed for Firefox and Edge in our latest release (1.4.95).

Best regards
Frank

0 votes

Hi Kizaemon,

this issue (WJ-8934) is fixed in the latest release (1.4.95).

Best regards
Frank

0 votes

Nic,

the bug has been logged as WJ-8910 and is fixed in the latest release (1.4.95)

Best regards
Frank

0 votes

Frank,

Great. That´s it. Solved.

DataGridViewComboBoxCell ComboCellMain = dg1.Rows[i].Cells[2] as DataGridViewComboBoxCell;
ComboCellMain.DataSource = t;
ComboCellMain.ValueMember = “CurrencyId”;
ComboCellMain.DisplayMember = “CurrencyCode”;
ComboCellMain.DropDownStyle = ComboBoxStyle.DropDownList;

 

Best Regards..

Marcelo Blank

0 votes

Hi Marcelo,

not sure if I understood correctly, but if you want to populate the Combobox in each row with different values you can do it like this:

DataGridViewComboBoxCell ComboCell = dg1.Rows[i].Cells[2] as DataGridViewComboBoxCell;
ComboCell.Items.Add (“…”);
ComboCell.Items.Add (“…”);

Hope that helps.

Best regards
Frank

0 votes

Hi Robin,

ToClientTime() will be readded in the next Wisej release.

Best regards
Frank

0 votes

Hi Kizaemon,

in a non-Websocket environment you can try using the pollingInterval setting in default.json.

Its default is 0 and is has no effect when running on Websockets. For http you can define an interval (in ms) where the server will poll for changes emulating Websockets pretty closely.

Of couse it depends on your application but it might come pretty close from the user perspective without having to write different code for WebSocket and http connections.

Hope that helps.

Best regards
Frank

0 votes

Hi Luca, I believe this is more of a chrome issue. While Wisej is outputting the correct html chrome is ignoring it. I think there are a bunch of hacks people have to use to work around it.

0 votes

Hi Angelo,

I´m not sure I understand the steps to reproduce that problem.
Can you please send me a sample project and/or the list of exact steps that you are performing ?

You can either post it here or send it to frankATiceteagroup.com

Thanks in advance !

Best regards
Frank

0 votes

thank you Frank,

remeber that the bug there is in IE11 also.

have you a extimated date for next release (stable or develop?)

Best regards

Cristian

Showing 7381 - 7400 of 11k results