OK I had to use BackgroundImage property and its still not clean the scrollbar makes it wonky the top of the grid doesn’t refresh .
The BackgroundImageSource property accepted the string from resource but didn’t work for me
if (pbNoteId > 0)
{
//e.CellStyle.BackgroundImageSource = Properties.Resources.note.ToString();
e.CellStyle.BackgroundImage = Properties.Resources.note;
}
else
{
//e.CellStyle.BackgroundImageSource = null;
e.CellStyle.BackgroundImage = null;
}
Thank you
“If the column is an image column set the image (either a string or an image) to e.Value. ”
Is that to be performed in the CellFormatting method and is it specifically for the DataGridViewImageColumn ?
Please & Thank you I grabbed someones sample from here and it is setting e.CellStyle.BackgroundImageSource
i was just about to test that set to a string Properties.Resources.note.ToString();
CellFormatting is to set the formatting of the cell, not to change the value. Use the e.Value and e.CellStyle to adjust the formatting.
If the column is an image column set the image (either a string or an image) to e.Value. If you have different requirement send a small test case showing what you need to do and what is the issue you are encountering.
If I wanted to implement this myself, what’d be the best way to go about it? I’ve been looking for a good extension or example of wrapping Javascript. This isn’t for a UI widget or to use in just one control, so would it be more like the client clipboard and client filesystem extensions? Would I be able to use Microsoft.JSInterop to build a wrapper, or does that only work in Blazor?
Same problem.
Hi Julie,
thx for your answer. I cannot reliably reproduce the behaviour in a sample project. Perhaps it is due to the current version of the MS Edge browser? Sometimes I even had to click three times before the click event was triggered. The property “ShowAutoLoader” was set to TRUE.
If it happens again, I’ll make a short video.
regards,
Stephan
Double with question some posts earlier.
Didn’t see because searched for “NavigationBar” not “Navigation Bar”
Hi Frank,
thank you. Worked as you described. (btw: The updated files are not part of the 3.2 archive zip file)
Leads to the question if there is (by chance) a *net.core* report viewer example .. 😉
Regards, Olaf
Can you create a small sample project that shows this behavior and post it here?
I tried and I cannot reproduce. See attached test case.
Hello, I found that the issue is related to the theme, e.g. I changed the theme to blue-2 and the issue was fixes.
maybe the default theme has rounded corners.
System.Drawing.Common 6.0 works for Linux. We didn’t discontinue anything. You cannot use System.Drawing.Common 7.0 on Linux because Microsoft blovked it without a replacement. We built System.Drawing.Managed together with ImageSharp (fully managed, unlike SkiaSharp which is a wrapper aroung many diffent native dlls) but for now it’s only for Wisej.Hybrid.
I can see that 3.5 references 7.0 which is incorrect. If you cannot downgrade the System.Drawing.Common nuget package in your project you need to use 3.2.7 for now. We will update 3.5 to use 6.0.
Hi Ali,
As my colleague Julie stated, we would require a test case that can be compiled and ran on our machine, please attach it as a zip file here and make sure that you remove the /obj and /bin folders.
Best,
Alaa
//
Can you create a small sample project that shows this behavior and post it here? What version of Wisej are you using?
I tried and I cannot reproduce. See attached test case.
You’ll need to install the nuget package for the extension that you want. You may need to restart Visual Studio before you can see it in the toolbar.
HTH,
Julie
Hi Sam,
The difference between local (offline) and remote (online) is the hosting location of the Wisej.NET application.
In a local or offline setup, the application is configured to run entirely without a connection to a remote web server (expect possible via API calls as you’ve mentioned). All of the UI, application logic, etc. is managed on the device itself. This is possible using EmbedIO, a cross-platform embedded web server for Android and iOS.
In a remote or online setup, a constant connection to a remote web server is required. The constant connection ensures all of your application logic, UI, etc. will be hosted on the remote web server and not running on the local device. Typically, deployment of this application will be through IIS, Kestrel, or some other reverse proxy.
Please let me know if anything isn’t clear!
HTH,
Levie
Hi Alaa,
yes, I did. Btw, a downgrad of the ColumnFilter to 3.2.8 eliminates the error.
Cheers, Gerhard
Hi Gerhard,
Did you upgrade the ColumnFilter extension to 3.5.1 too?
Best,
Alaa
Hi Ali,
thanks I could reproduce here. We’ll investigate and get back to you.
Best regards
Frank
Hi guys,
Are you planning to release some kind of recording of the live webinar for those who couldn’t attend it?
Best regards,
Alex
