All Answers

0 votes

I choose ashx handler because every time that resign in website the url of this.postbackurl() changes
the querystrings (sid and x) changes.
This behaviour observed too for example if open a form with a widget and open a new same form and values of querystring changes(sid and x) and then aren’t cached. browser thinks that are new content and was the same images in previous request – response.

With handler no issues, content is cached a bit different because url only has a 1 querystring value (my custom)

  • Ser Gar answered May 3, 2018 - 10:07 pm
  • last active May 3, 2018 - 10:09 pm
0 votes
In reply to: iFramePanel undefined

How to see bug:

1. Start program (first iFramePanel created inside Form constructor).
2. Click button (second iFramePanel created and added).
3. Move window with two iFramePanels – first panel removed on move.
4. If second iFramePanel created inside Form constuctor – all works without problems.

0 votes

I use buid 65, because can’t use latest builds (I get iFramePane undefined error messages with Eval scripts, after adding second iFramePanel programmatically).

0 votes

Cannot reproduce with the build I have. What day are you selecting on what build are you using?

  • Luca answered May 3, 2018 - 5:13 pm
0 votes

Tried to reproduce with server and client at different offsets but couldn’t. There have been lots of fixes in the DateTime serialization. Can you try the latest FullCalendar code from /extension?

There have been problems with this because javascript loses completely the timezone when serializing a Date to JSON. We tried several approaches to fix this fundamental flaw in all browsers with different results. The best is the latest, where we serialize the date as it was on the client and making the session always behave the same as the client using it.

  • Luca answered May 3, 2018 - 4:37 pm
0 votes

You can implement IWisejHandler on any Wisej component but you need to derive a class and add the interface. Otherwise you can use Wisej.Web.Widget, it fires the WebRequest event.

  • Luca answered May 3, 2018 - 4:21 pm
0 votes
In reply to: Menu item event click

Thanks Angelo,

with your sample we could reproduce the problem:
When the last MDI child is closed, its parent is not activated.

We have logged it as WJ-8921 and a fix will be included in the next build.

As a temporary workaround you can add the following code:

workaround

Best regards
Frank

0 votes
In reply to: Menu item event click

Hi, Luca
I have done further investigations. I made an example application that I attach.
Here are the two different behaviors.
Case 1
– Start the application,
– click on menuitem test Click
– the event is fired.

Case2.
– Start the application,
– close the Child1 form,
– click on menuitem Test Click and the event is NOT fired.

Is case 2 a bug?

The application is developed with version 1.4.86.0

thanks in advance for any suggestion

 

0 votes

Since upgrading to Windows 10 1803 the font no longer works. Is this an issue with SSRS and Windows 10 1803?

Just Checking

1 vote

The scrollbar is themed in the theme. We will have an extension package soon with browser native controls that can be used on mobiles to use the native controls, but of course it will be limited by the browser: no editable combobox, no images|colors in list items, etc.

  • Luca answered May 2, 2018 - 5:45 pm
0 votes

RibbonBarItemButton have two layouts: Horizontal and Vertical. The Vertical takes up the entire height, but the width is dynamic and set to a max width in the theme mixin (like in the windows ribbon bar). If you want to fix it, set the minWidth property in the theme mixin. Horizontal buttons instead always grow horizontally to fill the remaining space, while the height is dynamic, but it can be controlled in the theme as well.

  • Luca answered May 2, 2018 - 5:43 pm
0 votes

Thanks Luca,

Changing to a PictureBox is the way to go.  I did look at that, but couldn’t quite connect the dots to make it work.

The app uploads “documents” (pdfs or images) elsewhere … they are physically stored in the /Resources/UserData/ subfolder, with a database entry record.  So the viewer is supplied with a string eg “Resources/UserData/test1.jpg” to view.  The image does not exist at design time (in properties or a resx).

Could you show how to wire the PictureBox to dynamically display the string?

Thanks,
Neil

0 votes

The sample app is setting <img src… width=100% height=100%/>

The width and height set to a percentage in html is the percentage of the container but the html you are setting is just the image. Set an actual size for the image, or set a container element with a size. It’s also a lot better if you use the PictureBox control instead of the HtmlPanel (which is scrollable) to show an image.

  • Luca answered May 1, 2018 - 7:45 pm
0 votes

I have insert Polyfill and update the JavaScript, now works with IE (11), Edge, and Chrome, but not with Firefox. But the demo con site https://html2canvas.hertzen.com/ works olso with Firefox

0 votes

Ok I’ll try to add polyfill, but I use Firefox and Chrome. The demo on hertzen.com works, but not my code with wisej. I have try vbnet and c#

Cristian

0 votes

Two problems:

 

  1. RibbonBarItemButton.ItemClick  is a click on a child item, see description of the event in intellisense. The click event is RibbonBarItem.Click. Your test app is handling the RibbonBar.ItemClick (which is the click on a child item, which works correctly) and RibbonBarItemButton.ItemClick, which is a click on a child item of the button. If you handle RibbonBarItemButton.Click it will work.
  2. RibbonBarItemButton.ItemClick is not routed back from the RibbomBar, this is a bug. You can find the fixed code on github: https://github.com/iceteagroup/wisej-extensions/tree/master/Wisej.Web.Ext.RibbonBar
  • Luca answered May 1, 2018 - 12:40 am
  • last active May 1, 2018 - 12:40 am
0 votes

That’s because you are probably using a browser that doesn’t support something that html2canvas needs. Check with F12, my guess is that it’s the promise construct that is not supported by IE10. Try with Chrome instead.

You can also add a polyfill like this https://polyfill.io/v2/docs/ to Default.html.  I tried with IE10 and now it works. See the requirements at https://html2canvas.hertzen.com/documentation.

  • Luca answered May 1, 2018 - 12:07 am
0 votes

Hi,

please see attached project.

Orel

0 votes

Sorry Luca,

I don’t understand how use it, I have a test button with this code on Click

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

Html2Canvas.Html2Canvas.Screenshot(
Sub(ByVal img As Image)
PictureBox1.Image = img
End Sub
)

End Sub

but do nothing, If I put a breakpoint on row PictureBox, the visual studio don’t break on it

thanks

Cristian

 

0 votes
In reply to: Server anonymity

yes I understand that must be loader 😀

setting debug = false does not change anything
I would like to make it as anonymous as possible to wapplyzer-like programs

Showing 7441 - 7460 of 11k results