I have uppdated the launchSettings.json for the IISExpress profile:
The project’s properties enable Windows Authentication and disable Anonymous Authentication. Open the launch profiles dialog:
Snippet
{ "profiles": { "MGRegnskapWisejWebDesktopApplication": { "commandName": "Project", "launchBrowser": true, "environmentVariables": { "WEBSITE_PATH": "$(MSBuildProjectDirectory)" }, "applicationUrl": "http://localhost:5000" }, "WSL": { "commandName": "WSL2", "launchBrowser": true, "launchUrl": "http://localhost:5000", "environmentVariables": { "ASPNETCORE_URLS": "http://localhost:5000", "WEBSITE_PATH": "$(MSBuildProjectDirectory)" }, "distributionName": "" } }, "iisSettings": { "windowsAuthentication": true, "anonymousAuthentication": false, "iisExpress": { "applicationUrl": "http://localhost:54429", "sslPort": 0 } } }
But it is still not working.
Alaa Thanks for your respons.
I have attachmet sample project without bin folder.
Thanks
Nicky
Tanks Julie for your explanation and suggests.
I chose to use the HTML approch on cell format event.
I Know to embedd .png or emoji icon whith this code:
’emoji
e.Value =”<span role=’add’ style=’cursor:pointer; margin-right:10px; font-size:20px;’>➕</span>”
‘png
e.Value =”<img src=’resources/Add_01_24.png’ role=’add’ style=’cursor:pointer; width:20px; margin-right:10px;’ />”
But if I want to use .svg icon from wisej themes i don’t know how do this.
I tried with this:
e.Value = “<svg role=’add’ class=’icon’ style=’width:20px;height:20px;fill:green;margin-right:10px;’>” &
“<use xlink:href=’#icon-error’></use>”
where ‘#icon-error’ is the thema icon,
but not work. The problem for me is how to reference to theme icon in HTML syntax.
Any suggestion?
Try the UserControl attached and use a monospaced font like Courier New
Yes, this should be possible using the letter-spacing property:
https://www.w3schools.com/cssref/pr_text_letter-spacing.php
Here’s what it looks like in plain HTML:
<input type=”text” style=”letter-spacing: 2px;” placeholder=”Spaced letters”>
style=”letter-spacing: 2px;” is the css that you would need
-Julie
It’s working as expected, not a bug.
When a datagridview is data bound the rows are all virtual. They get created and destroyed all the times allowing the grid to handle unlimited number of rows. There is no instance of a cell that can be used like that.
The real rows must be created.
One way is to use datagrid1.Fill(data) instead of DataSource = data.
Another way is to iterate the rows and force the creation of the real rows:
Private Sub DataGridView1_DataBindingComplete(sender As Object, e As DataGridViewBindingCompleteEventArgs) Handles DataGridView1.DataBindingComplete
For i As Integer = 0 To DataGridView1.RowCount - 1
Dim r = DataGridView1.Rows(i)
Next
End Sub
In any case, the control should be created only in Clone() not in New().
The best approach is not to use a child control. It uses a lot of memory for large data sets. Datagrids should not be used like the datarepeater. It’s better to format the cell content using html to display buttons or icons or anything else and detect the click using the Role property of the click event. In html just add role=’delete’, role=’add’ and when clicking on the html in a cell the click event will carry the role string.
Hi Nicky,
You can use the appSettings.json approach like you mentioned above, however if you’re running into issues with running queries on the DBContext, then it could be an issue of how you’re injecting the service into the Service Container.
I recommend heading to our documentation about Dependency Injection.
Can you wrap a small runnable sample that would showcase the issue?
Best Regards,
Alaa
Hi Frank,
I have attached an example developed with Wisej 3.5
Ciao Gabriele,
It’s probably a permissions issue. Check out these AndroidManifest permissions:
https://developer.android.com/training/data-storage/manage-all-files
https://developer.android.com/reference/android/Manifest.permission#READ_EXTERNAL_STORAGE
https://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE
https://developer.android.com/reference/android/Manifest.permission#MANAGE_EXTERNAL_STORAGE
I believe there are other ways to access the files in that directory, but would be more difficult to implement.
Best,
Levie
Hi Gabriele,
apologies for this late answer but I had to research a bit.
Here is the status:
Sorry for any confusion.
Best regards
Frank
For the overall control, you can use a TableLayoutPanel. You would need to have some merged columns (ie colspan=2) in order to get the layout right.
For the blue grids (see attached pictures), you could use a single row datagridview inside of the tablelayoutpanel.
If you require further assistance or want us to produce a sample for you, you can purchase a consulting package at https://wisej.com/services-packages/
You’ll just need to look at how it’s implemented in the sample. There is no separate extension or nuget package for SAP 3D Viewer.
-Julie
Hi Angelo,
please provide us with a compilable test case that includes the binding that does not work for you
and we can investigate further.
Best regards
Frank
Hello Julie,
thank you very much for the quick reply. I have looked at your code, my scenario is slightly different, but I have found the error.
But that shouldn’t be relevant. I opened the Page1.vb[Design] designer view -> Properties -> MenuBar ->MenuItems(Collection) ->spacer and set Enabled to False. Thought that was it.
With the help of your code I regocnized that at the file Page1.Designer.vb the line
Me.spacer.Enabled = False
is missing. Add this and the problem is solved.
But now it becomes strange. Opening the Page1.vb[Design] designer view again, navigating to spacer -> Enabled = True. Leaving the dialog on OK or on Cancel
Me.spacer.Enabled = False
is missing again at Page1.Designer.vb.
For now, I will pay careful attention on Page1.Designer.vb and the problem is solved for me.
Ottilie
See here: https://docs.wisej.com/docs/getting-started-1/license-activation#server-license
Try deleting the .lic file and regenerating it and see if that solves your issue.
Just for reference, this link may be helpful as well: https://docs.wisej.com/deployment/troubleshooting/license-activation
-Julie
I’m not sure how yours is set up, but when I try to reproduce, the spacer does not change back color on hover. See my sample.
-Julie
Hello Jean,
You don’t need to use an HtmlPanel, you can use your own PDF.js inside with the PDF Viewer control, please refer to this older post for more information and a sample!
Also, you can use AI in our documentation website to get a better understanding on how to implement your own custom PDF viewer, you can visit https://docs.wisej.com/api?q=custom+pdf+viewer&ask=true to get a head start!
Best Regards,
Alaa
Unfortunately, you are limited to whatever an iFrame can load. So it is not possible to get past the security limitations.
The only way would be to simulate a browser on the server, scrape the screen and render as an image in the browser and detect pointer actions, etc
Julie
Hi Gabriele,
no, ViewBuilder is not deprecated. Before it was an extension but now it is integrated into the core Wisej.NET product.
FluentMarkup will come additionally with 4.0 (C# only).
Best regards
Frank
Hi Ulrike,
we are in the final phase of the public beta for Wisej.NET 4.0 and it will be released on April 28th 2025.
We have updated our roadmap online.
Best regards
Frank