All Answers

0 votes

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.

  • Julie(ITG) answered Apr 25, 2025 - 1:37 pm
  • last active Apr 25, 2025 - 1:37 pm
0 votes

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

0 votes

Hi Frank,

I have attached an example developed with Wisej 3.5

0 votes

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

0 votes

Hi Gabriele,

apologies for this late answer but I had to research a bit.
Here is the status:

  • ViewBuilder extensions was removed from our build files because we planned to add it to “base” Wisej.NET but a bit later this had to be shifted to later.
  • Latest source code for the extension (3.5.14) is available here.
  • It will be added back to our nuget package deployment starting with 3.5.18

Sorry for any confusion.

Best regards
Frank

0 votes

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/

0 votes
In reply to: Extension SAP3D Viewer

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

0 votes

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

0 votes

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.

  • I’m using vb.net
  • and Wisej WebPage not WebDesktop

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

0 votes

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

0 votes

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

0 votes

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

0 votes

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

  • Julie(ITG) answered Apr 21, 2025 - 2:39 pm
  • last active Apr 21, 2025 - 3:46 pm
0 votes

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

  • Frank (ITG) answered Apr 18, 2025 - 5:03 pm
  • last active Apr 18, 2025 - 5:03 pm
0 votes

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

0 votes

My mistake, datasets are not supported in net core designer. See the docs here: https://docs.wisej.com/docs/releases/whats-new-in-4.0/public-beta#data-binding

  • Julie(ITG) answered Apr 17, 2025 - 1:34 pm
  • last active Apr 17, 2025 - 1:34 pm
0 votes

Glad you’re enjoying the HtmlPanel!

-Julie

0 votes

Dear Julie

Thanks for your respond.

This what had i did:

  1. Clean and Rebuild Project
  2. Restart Visual Studio
  3. Delete folder Obj and Bin
  4. Restart windows
  5. Try Create New Project
  6. Remove Visual Sudio and New Install Visual Studio
  7. this link vsix that i download ( and Nuget Wisej-4 ver 4.0.0-beta.41)

All point above is result the same error.

For your information, i am using Microsoft Visual Studio Enterprise 2022 (64-bit) – Version 17.13.6 and my windows is clean install with only Ms Sql and Ms Office.

Thanks

 

Nicky

 

0 votes

Looks like conflict between System.Linq.Dynamic.Core bz. ZZZ Projects, which is transitively referenced from your side to version 1.3.7
and locally installed vesrion 1.6.0

When local one is removed this fixes the issue

0 votes

Hi Dino,

We tried with a sample on our end and we couldn’t reproduce.

Can you please wrap up a small runnable sample for us to check?

Best Regards,
Alaa

Showing 181 - 200 of 11k results