Hi Kingsley.
Yep, I hit the same limitations as you did. So far, I haven’t used the BindingSource for the grids and I usually get the row PK and fill another BO instance with the grid current row, and from then on I do whatever has to be done.
And you are right, we can take advantage of all the other business layer features. In my case I am doing a migration to the web and I have loads of BOs and their rules, etc., which are ready to go. I also use the Security feature completely, will also create the UI for it later. Not to mention the BOM and DDT.
On maintenance forms, I have migrated the SF MaintenanceToolStrip and am able to take advantage of all BO events and methods.
So far its been saving a lot of time for the whole process.
Cheers.
Ivan
Hi Jay,
No, Wisej.NET doesn’t come with a native Dark/Night mode.
What you can do however is use our highly customisable Theming system by using the Theme Builder application.
You can find more about it on our documentation page.
Best,
Alaa
Hi Nicky,
I believe you’re facing a session management issue.
You can check out our Session Management documentation page for more info about the matter.
But, do keep in mind that any Wisej.NET application session is terminated after a certain time, the default being 120 seconds if the application is in an IDLE state.
With that in mind, when a session is terminated, it’s therefore gone for good, it can’t be recovered in any way shape or form!
It’s the same thing as terminating any windows desktop application.
HTH,
Alaa
HI Stephen,
Unfortunately, Actipro Docking & MDI components are not compatible Wisej.NET.
Since Wisej.NET is a Web framework, WinForm component wouldn’t be compatible, on the other hand, you can integrate basically any Javascript based component into your application.
For the MDIWindow, I would suggest that you have a look at one of our many examples over at the Samples Github Repository.
Also, we provide additional professional services, and component integration is one of them, you can check them out at https://wisej.com/services-packages/
Best,
Alaa
Hi Pedro,
Can you tell me what kind of signature algorithm you’re signing your PDFs with, so that I can reproduce the issue?
Best,
Alaa
Hi Ivan
Thanks for the response.
I had got as far as using myBO.CurrentView with WiseJ BindingSource for a DataGridView and BindingNavigator
Me.BindingSource1.DataSource() = myBO.CurrentView
DataGridView1.DataSource = BindingSource1
bnav1.BindingSource = BindingSource1
Trouble is (as expected) I cannot bind to custom fields defined in the business object when we use CurrentView or CurrentDataTable. Also the BO.Move/Navigate methods don’t affect the grid current row. But you can handle BO nav events to do this.
And it looks like I’ll need to wire-up CRUD operations from the grid to the BO
So I guess it half works. We can still use the data access part of the SF BusinessLayer, BO.Fills etc (which saves a lot of ADO.NET data access plumbing) and code that was working with BOs, but binding to controls looks like it has limitations. Still looks like its worth migrating SF BOs to WiseJ web app though.
Kingsley
Hi Vaishali,
Unfortunately, the Wisej 3 VSIX installer is not compatible compatible with Visual Studio for Mac.
It is however required to get the designer to run on the Windows Version of Visual Studio 2022 / 2019.
Visual Studio for Mac doesn’t come with a WinForms designer, nor is it compatible with .NET Framework 4.8 (That’ why you need the NET desktop development).
The Wisej.NET Designer depends on .NET Framework 4.8, so for now it’s only supported on Windows.
However, there’s nothing stopping you from running any of your applications on a Mac or a Linux machine, since you can use .NET 6+ as your application’s target framework, just make sure to install the Libgdi+ library and you should be good to go!
On another note, in case you’re running the windows version of Visual Studio 2022 on your Mac running on either Parallels or Bootcamp, you should be able to download the extension from going to https://wisej.com/builds/ .
Best,
Alaa
By the way, as for a Wisej DataGridView I have done it just setting the CurrentView to it.
this.myDGV.DataSource = this.myBO.CurrentView;
Hi Kingsley.
I have been binding SF Business Objects to Wisej DevExpress DataGrids Extensions using the AsEnumerable from DataTable.
It looks like this:
this.myDataGridView.Options.dataSource = this.myBO.CurrentDataTable.AsEnumerable();
Hope it helps.
Ivan
We cannot help you without a small simple runnable test case that explains and shows exactly why this is related to Wisej.
Using code. If you need professional services contact sales. For common coding questions this is the wrong forum.
Jay,
you can´t, it´s by design. (Same as in WinForms).
Best regards
Frank
hello, so i atached a example, i want to delete more than one row, using the checkbox. how can i do that.
Thanks, so the think is: I have a theme, but, this configs dont charge, because problaby i did some config in the component. So, i want to know if have some way to restore the defaults of the component, combobox for example.
There is a Browser tab. It’s in the screenshot on the page you quoted and described in details in the online documents, linked to the help button. You need a paid license to access the live edit functionality.
The quick answer is that you should try:
var scrollableElement = document.getElementById('scrollableElement');
scrollableElement.scrollIntoView();
In more detail:
1.Create a html file. Make sure that an element within it has the id set to “scrollableElement”. (or whatever id you want to use, doesn’t matter really)
2. In the Wisej designer, create a HtmlPanel from the toolbox. Set the HtmlSource to your HTML file.
3. In the Wisej designer, create a button from the toolbox. Add a Click event.
4. In the code for the Wisej page, you should have this:
public Page1()
{
InitializeComponent();
//When the htmlPanel is initialized, create a javascript function named Scroll.
htmlPanel1.InitScript = @"this.Scroll = function() {
var scrollableElement = document.getElementById('scrollableElement');
scrollableElement.scrollIntoView(); }";
}
private void button1_Click(object sender, EventArgs e)
{
//call the Scroll function
htmlPanel1.Call("Scroll");
}
The htmlPanel will scroll when the button is clicked.
I’ve attached a sample. Hope this helps!
Hi Jay,
If you want to reset the themes, try pulling them from our GitHub Repository.
Open any theme file using your editor of choice, then find the “combobox” appearance, then copy/paste it into your theme.
HTH,
Alaa
So, i have a datagridView, and have a checkbox for each line. this lines recover a model from a database. So i want to delete more than one line, at same time, checking more than one checkbox, them click in a button and send a query to delete all the lines checked.
that developer license isn’t enough to integrate trialware of Syncfusion Essential JS 2? Or do i not have a valid trialware of it installed?
https://docs.wisej.com/license/license-model-2022/developer-licenses#premium-extensions
“Wisej, Version=1.0.0.0” ??? It’s not our assembly.