Hello Julie,
good tip.
The alpha value is important to me. I want to preserve the color gradation of the even and odd color gradations of the lines. see screenshot. It looks smother.
I’ve been thinking about this here:
private void dataGridViewBrush_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e)
{
DataGridView dgv = (DataGridView)sender;
CellColorBeforEdit = dgv.Rows[e.RowIndex].Cells[e.ColumnIndex].InheritedStyle.BackColor;
Color newcolor = Color.FromArgb(CellColorBeforEdit.R, CellColorBeforEdit.G, CellColorBeforEdit.B);
dgv.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = newcolor;
}
private void dataGridViewBrush_CellEndEdit(object sender, DataGridViewCellEventArgs e)
{
DataGridView dgv = (DataGridView)sender;
dgv.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = CellColorBeforEdit;
}
I remove the alpa channel while editing and add it back after editing.
OK. >> functioned . No ghosting during editing.
Next problem. After editing, no cell entry is visible. Do I need to adjust the visibility of the cell somehow? (sreenshot cell 17Z, 16H or 20Z was editing.)
Walter
It is not a bug. The sample puts a transparent color in the editing control. A transparent color shows what is behind-thus, why you can see the previous value as the cell is being edited.
Change this:
dg.Columns[2].DefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(88, 52, 255, 198);
to this: (removes the transparency)
dg.Columns[2].DefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(52, 255, 198);
The first argument in System.Drawing.Color.FromArgb(88, 52, 255, 198)
-in this case 88- is the alpha value, which controls the transparency.
If you send only 3 arguments, there is no alpha value.
HTH,
Julie
Thanks for letting us know, we are investigating the issue.
-Julie
Hi Christian,
We’ll take a close look at this issue and keep you updated.
Best,
Alaa
Hi Devin,
Wisej.NET 3.5 will not drop support for .NET Framework 4.8, it’s still going to be needed for the designer.
We do have a plan to move forward with a .NET Core designer in the future.
Best,
Alaa
Hi Carl,
Since the report is very large, the request is what is timing out.
The error is coming from IIS, I would suggest that you increase the “Connection time out” value of your IIS Site.
Best,
Alaa
Hi Adrian… yes you can do it… currently I work under that concept… I have my own library of classes, controls, interfaces, functions, security, etc, I have created it in an independent solution referencing Wisej, I compile and the dll that is generated is the one that I share for the other projects…
I currently use version 2.5.x
Regards
It’s not working on my PC. I deinstalled exiting Wisej.NET version in Visual Studio, installed the downloaded version. The project itself can be compiled/run. The forms/pages are loaded in designed, the controls are there but not visible. When I click on control (a textbox in this case) it’s borders are displayed but nothing more. Please advice.
Visual Studio 17.7.2
Wisej 3.2.4
When using IE Renderer it’s working correctly; the problem exists just for Edge/Chrome Renderer.
Hi, had the same problem. The new VSIX has eliminated the bug.
Found the problem.
IframePanel.Call requires a callback of type Action<dynamic>, it was my mistake. Closing the issue
Correction!
Now the wisej3.2 app is shown correctly.
But on the wisej2.5 app it is the same as it was. No Controls!
Sorry, but installing the VSIX from Alaa did not change anything.
The controls in the designer are not visible.
Thank you.
Hi Jose,
Unfortunately, that would be out of scope for what we can offer here as free support.
You can however, use the ASP.NET Core 6 wrapper and host it in an iFramePanel in Wisej.NET.
Best,
Alaa
Hi Rupert,
This looks like the issue we mentioned in https://wisej.com/support/question/important-information-regarding-the-recent-update-to-visual-studio-2022-17-7-0
Please follow the steps there by downloading the new VSIX installer, that should fix it!
Best,
Alaa
Thanks Alaa, I understand that ASP.NET Wrapper extension is compatible only with net 4.8 but FastReport has compatibility with ASP.NET Core MVC 6, will you have any example of how to integrate something like this? Thank you
Hi Sergio,
To answer your questions:
HTH,
Alaa
Hi Jose,
Thank you for your interest in Wisej.NET!
Unfortunately, WinForm controls are not compatible with Wisej.NET itself, since all of our components are javascript web controls.
You can get around that by using the ASP.NET Core or ASP.NET MVC components, if you went the ASP.NET MVC route, you’ll need to use our ASP.NET Wrapper extension to implement it with Wisej.NET!
We do offer custom implementation services, if that interests you, please contact us at sales[AT]iceteagroup.com for more info.
Best,
Alaa
Hi Devin,
I’m putting your answer above to close this issue 🙂
<PropertyGroup>
<ActiveDebugFramework>net6.0</ActiveDebugFramework>
</PropertyGroup>
Best,
Alaa
Hello,
we’re using Visual Studio 2022 version 17.7.1 along with Wisej 2.5.35.
For the designer, we’re using the NuGet package provided by Wisej-2-VisualStudioDesigner 2.5.20.
Will this NuGet package also be updated?
We’re encountering the issue described in this post related to the Edge/Chrome renderer.
Thanks in advance.
I’ll answer my own question here,
It appears you cannot, however for a workaround and it’s a bit tedious
I have opened the .csproj file and commented out the 4.8 target <ItemGroup> sections for my forms I want to edit, and unload and reload the project. Then I can edit the forms in the designer. However of course it will not compile now, so before I can run in the debugger I have to remove my comments for the 4.8 Item Group so it will compile again.
I am really looking forward for the .net core designer 🙂 cause this is a pain.