Ok, but will there be a fix soon or not?
Can you describe what you did to reproduce this bug- it sounds like you placed a DataGridView in a tab page and attached an event handler to the OnBindingContextChanged event? And you see this error when closing the tab page?
I will look into this.
Hello,
We have investigated this particular issue, and we found out that it’s actually an issue with Visual Studio itself rather than our designer.
We would suggest that you use the property grid instead of the editor UI from the designer to change the column properties.
It doesn’t happen specifically with copy pasted datagridviews, but it also can happen in a freshly created datagridview.
Another thing to try is to save the file after pasting the control, and then restart Visual Studio, that way the column is forced into being in Edit mode and all the changes would be preserved.
Best regards,
Alaa
//
Version 3.5.5 has same problem, for now I rolled back to 3.5.4.
Hi Alaa
I think the problem was that I needed to add eventlisteners for
each event and that the event I was trying to use was cellClick, not onCellClick.
So the code below works fine.
Thanks,
Private Sub Page1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.DxDataGrid1.AddListener("cellClick", New WidgetEventHandler(AddressOf DxDataGrid1_WidgetEvent))
Me.DxDataGrid1.AddListener("contentReady", New WidgetEventHandler(AddressOf DxDataGrid1_WidgetEvent))
End Sub
Private Sub DxDataGrid1_WidgetEvent(sender As Object, e As WidgetEventArgs) Handles DxDataGrid1.WidgetEvent
AlertBox.Show(
$"<b>{e.Type}</b><br/>{JSON.Stringify(e.Data)}",
MessageBoxIcon.Information)
Application.Play(MessageBoxIcon.Information)
End Sub
Hi Fahad,
Based on the latest information, it looks like you removed the .NET Framework 4.8 Target.
The net48 target framework is currently essential for the designer to work.
If that is not the case, then we would require a small and runnable test case as mentioned in our community guidelines here: https://wisej.com/support/question/forum-guidelines
Best regards,
Alaa
//
I’m a bit confused as to what exactly you are asking.
By “panel” do you mean a Wisej.Web.Panel? https://docs.wisej.com/api/wisej.web/containers/wisej.web.panel
Your code uses a Form (The parameter in Sub switchPanel(ByVal panel As Form) is of type Form) as in a Wisej.Web.Form https://docs.wisej.com/api/wisej.web/containers/form
Also, I’m unsure what Dashboard is – it seems to be a custom class that you created? Is it derived from Panel, Form, or something else?
By “page”, do you mean a Wisej.Web. Page? https://docs.wisej.com/api/wisej.web/containers/wisej.web.page
How do I change it, so that I can open panels On pages
So if you want to open panels instead of Forms, just use a Panel instead of a Form. If you want to open a Panel on a Page, first create a Page, and then create a Panel. If you use the template “Wisej.NET Web Page Application” for VB.NET, it will create a Page for you (Application.MainPage = new Page1() ), and then you can simply add the code to create a Panel, which can easily be done by dragging in a Panel from the toolbox in the Designer.
Code to create a panel:
Me.Panel1 = New Wisej.Web.Panel()
Me.Controls.Add(Me.Panel1)
And can change pages on panels?
To change pages/open a new Page, you can do this:
Application.MainPage = new Page1()
replace Page1 with the name of whatever page you want to show.
If you want some examples of how to create a menu in Wisej, look at the demobrowser: https://wisej-demobrowser.azurewebsites.net/
Specifically, you may want to look into the MenuBar: https://wisej-demobrowser.azurewebsites.net/#Tools%20and%20Menus/MenuBar/Features
And the Panel: https://wisej-demobrowser.azurewebsites.net/#Containers/Panel/Features
I have attached a simple example in VB.NET with 2 pages and 2 panels. Each Page contains a panel, and each panel contains a button that lets you switch to the other page.
Hope this helps! If this doesn’t answer your question, please let me know.
-Julie
Hi Pablo,
if you want to insert some text at the current caret location in a CKEditor you can use code like this:
this.ckEditor1.Eval("this.editor.insertHtml('<i>Hi</i>')");
Best regards
Frank
Some notes:
-aaPanel does not support ASP.NET Deployments, and therefore will not support a Wisej.NET deployment
-Between Webuzo and Plesk, Plesk is the more user-friendly option, so I would recommend looking into that.
-Whatever you select to deploy your application, make sure that it supports ASP.NET deployment. You can find many resources on the web for deploying ASP.NET applications, which will all support Wisej. NET deployment.
Unfortunately, creating a video tutorial for specific Linux deployments is out of the scope of what we can offer with our free support services, due to the large amount of time and effort involved. However, if you purchase 3 4-hour consulting packages (see https://wisej.com/services-packages/), we can look into creating a video tutorial on deploying to Plesk.
Hi,
Thank you so much! It’s working now. I encountered an issue with my Linux Docker builder, which required me to uninstall and reinstall it. After updating my Dockerfile with your suggested modifications, everything is functioning correctly.
Initially, I tried implementing your changes on a Docker-Windows container, but I couldn’t find the apt-get application, and the NuGet packages were missing some of the libraries I needed. However, after reinstalling Docker and switching to the Docker-Linux builder, everything works perfectly.
Cheers!
Dear Alaa,
So previously I had uninstalled the old VSIX then installed the latest VSIX Wisej 3.5.5, here I sent a video of how the bug in the Wisej designer for datagridview on the design page looked like.
https://app.screencast.com/7MXLQh1T4BTBQ
Hi Alaa
Since it was your testproject I did expect it to work on your side. But
unfortunately your modified sample does not work here either.
https://app.screencast.com/znojTMN4P1guG?conversation=jRzhH4PIk70JgaFJLztG7V
Any suggestions are appreciated.
Hello,
We can’t reproduce the bug, we need more information about this issue.
Make sure that you have updated the VSIX to the latest version, you can do that directly from Visual Studio.
Best regards,
Alaa
//
This is in reply to your previous comment, but I’m writing it here so that the formatting is better:
One thing that may help you is that Wisej is based on ASP.NET Core. So if you search for “Deploy an ASP.NET core application to Linux using Webuzo”, for example, you can follow the same steps to deploy your wisej application. You will still find the video tutorial that we have helpful if you run into any wisej-specific errors. (For example,at 25:42 in the video it shows how to fix Libgdiplus and license key errors).
For troubleshooting your issue specifically, in case you decide to stick with using the terminal:
Note that “running the Wisej application as a service” and “having NGINX route the user to the application when they try to access the public ip” are two separate things. You can run the Wisej application as a service without using NGINX. So when you say “when create service run in nginx, i failed”, note that “create service” is NOT an NGINX command.
I would try this to fix it:
-Stop NGINX using the command sudo systemctl stop nginx. You might be running NGINX on the same port that you’re trying to run the service on-this could be causing an issue.
-Double-check that ASP.NET Core is installed (8:52 in the video)
-Edit the service configuration file (instructions at 36:29 in the video)- triple-check this! My guess is that this is causing the issue. Your file should not look identical to the one in the video- you have your own username, etc.
-Double-check that all the permissions are enabled so that you are able to read, write, and execute all the necessary files. If you get an error or “Permission denied” message about not being able to read/write/execute a certain file- that’s the one you need to enable permissions on.
-Create and run the service by following the instructions from 32:04 to 38:39
Hi Paresh,
The issue your having is due to the fact that the LibGdiPlus library is not installed.
Please modify your Dockerfile like the example below:
#Install ms fonts.
RUN sed -i’.bak’ ‘s/$/ contrib/’ /etc/apt/sources.list
RUN apt-get update; apt-get install -y ttf-mscorefonts-installer fontconfig
Hello Fahad,
You’ll need to clean the solution, build it and then restart Visual Studio.
Best regards,
Alaa
//
Hi Giorgia,
please provide a test case with the code and attach any theme/mixin you’re using.
We cannot guess what’s wrong with just a screenshot.
Thanks in advance,
Frank
Dear July thank you so much for your suggestions.
I’ll give them a try.
Regards,
Angelos
Hi Roberto,
nothing has changed on Wisej 3.1.6, we’re currently working on 3.5.6.
If you are seeing higher client memory consumption it might be related to some changes in your environment?
How did you monitor the memory situation?
Without knowing your code it’s virtually impossible to do a remote diagnosis.
Best regards
Frank
Hi Per,
I’m not sure I fully understand the requirements here, I have made some adjustments to the sample and everything seems to be correct on my end (check attached sample).
The older version should not be an issue, because the extension uses version 22.2.4.
Can you please give us a better description of your requirements?
Best regards,
Alaa
//
