Hi Cristian,
I’m not sure I entirely understand what you mean. Could you please explain the issue a bit more?
You can use the Upload Control’s “Progress” event to get the current status of the upload and to verify that the “Total” number of bytes to upload is > 0.
Please let me know!
Best,
Levie
What is the error exactly?
I tried Fill() and in RowsAdded I get the correct number of rows and I can access all the rows, which are all displayed.
If you inspect the inner list you will find null rows, which is correct. The rows in 2.2 are created on demand and when the grid is bound they are never created unless your application uses the row, in which case the specific row is created on demand.
Check the output window in debug and you will find:
“Created real row X”
as the rows are used by the app.
We are now able to handle unlimited rows (tested with 1M rows) with very little memory.
Cannot reproduce with the PDF Viewer extension but it could be a different one. It seems to use pdf.js, which is also already available in wisej so you don’t need the extension. Other than that, there is nothing we can do to change the extension’s behavior. Application.Download() responds with a content type “attachment” instead on “inline”, which is used to download instead of opening the file.
Did you try the latest build 2.1.86? I cannot reproduce the issue with that.
Here is a sample using https://www.nuget.org/packages/DotNetAuth/ (https://oauth.net/code/dotnet/)
Works with Google, Facebook, Twitter, Yahoo, Microsoft. You can get the DotNetAuth source code and add more providers.
To make sure my themes were not playing any tricks on this matter, I have tested the same situation changing from Blue-1 to Graphite-3. I have attached pictures of the Graphite-3 Line color at the designer, and another of the same Line after changing the theme from Blue-1 to Graphite-3 at run time.
My own themes, created from the Material-3 as base.
I am not changing anything through mixin for the Line. The lineColor property is set to windowFrame as it was originally. The windowFrame color was changed for each of the Themes created. If I set the Theme through the Default.json, it shows properly when we open the application. But if the user changes the Theme (we just added 2 buttons, each changing to one of the themes created), the Line color for the theme which we changed to (programmatically) doesn’t mach with the one in the .theme file. If we change the themes in the designer with an open window where there is a Line, the Line color changes properly.
The pictures attached show the same Line in the same window, one at run time where the theme was changed after the application was run, and the other picture showing the same line at the designer, with the corresponding theme set through the combobox on the bottom of the designer.
Which themes? I tried a theme mixin that changes the line color to red and it works both at design time and runtime. To force a reload you can always use Application.Reload().
Hi Levie
Thanks for your attention … and for the solution … Save the project !!!
Best Regards !!!
Hi Marcelo!
I modified your project so the widget resizes when the browser resizes.
You were close, you just needed to call “spreadsheet.refresh()”. I always find it helpful to explore the API of the library and search Stack Overflow for people with the same issue :-).
Please let me know if you have any more questions!
Best regards,
Levie
Thank you for reporting it. It should/will work as before. The DGV in 2.2 doesn’t create any row until used by the app so internally it refers to data only by the row index and creates rows on demand. This saves a lot of memory for data bound or virtualmode grids.
Thank you so much Luca. I was keeping the width value between quotation marks… 🙁
Hi Cristian,
We actually had to revert the Html2Canvas build to v1.0.0-alpha.11 because it broke a few things (iFrames). The FF fix is available along with all the original functionality of the extension.
Sorry for any inconvenience.
Best,
Levie
I changed width to 5 and color to “red”, see attached screenshot. Shows a round red border 5px wide. You don’t need to recompile the extension, just copy the NavigationBar.mixin.theme in your project in /Themes and edit it:
"user-avatar": {
"states": {
"default": {
"styles": {
"radius": 40,
"width": 5,
"color": "red",
"backgroundColor": "#DCE3E3"
}
}
}
},
To change it programmatically you can either modify the extension to a property or alter the theme in code:
Application.Theme.Appearances["navbar"].components["user-avatar"].states.@default.styles.color = "green";
However this will change the cached theme for all users. To create an individual custom theme you can clone the theme, change it, and assign it back.
Hi Cristian,
Thanks for letting us know. I’ve updated the extension to use the latest version of Html2Canvas (v1.0.0-rc.7).
Please try it from GitHub and let me know if you run into any issues.
Best,
Levie
Thanks for the explanation Luca. I am probably doing something wrong, then, as the MenuItemClicked handler never runs. However, it is so straight forward that I can’t think of anything else that should be done.
Hi Anz,
issue #2380 is fixed in release 2.1.86.
Best regards
Frank
For Active Directory all you need is
<authentication mode="Windows" />
I’ll send you a sample for OAuth2, probably Github, Google, Facebook, etc. In short you need to handle the postback. Then the issue is to read the “graph” they send back since they are all different, and it was supposed to be a standard…
No plan, it’s not possible. Which blazor component are you looking at? Most third party components are javascript with a blazor wrapper.
