All Answers

0 votes

–COMMENT—  &  FOLLOW UP Question please              is it OK to manually invoke this render method for each row ?
– I didn’t want to make a fresh question for naught,
please & thank you

Greetings all, I did this — >   [ Image attached ]

[
if (iRowIndex >= 0 && iColIndex == colIndexNoteImage) // Image Column r.e. display
{
// DYNAMIC DISPLAY OF Notes Image WHEN Notes column has valid NoteId
pbNoteId = // from some other cell
if (pbNoteId > 0)
{
e.CellStyle.BackgroundImage = Properties.Resources.note;
e.CellStyle.BackgroundImageAlign = ContentAlignment.MiddleCenter;
e.CellStyle.BackgroundImageLayout = ImageLayout.BestFit;
e.CellStyle.Render();
}
else
{ e.CellStyle.BackgroundImage = null; }
}
]
to attempt to address my inconsistent DGV cell image response with scrolling
& its seems to work. I could not locate any documentation WiseJ or MSFT regarding this
method off of e.CellStyle.Render();
the UI is still a bit slow — is it OK to manually invoke this render method for each row ?
Or am i causing an additional needless performance hit ?
DataGridViewCellFormattingEventArgs.CellStyle.Render();

 

 

0 votes

–COMMENT—  &  FOLLOW UP Question please              is it OK to manually invoke this render method for each row ?
– I didn’t want to make a fresh question for naught,
please & thank you

Greetings all, I did this — >   [ Image attached ]

[
if (iRowIndex >= 0 && iColIndex == colIndexNoteImage) // Image Column r.e. display
{
// DYNAMIC DISPLAY OF Notes Image WHEN Notes column has valid NoteId
pbNoteId = // from some other cell
if (pbNoteId > 0)
{
e.CellStyle.BackgroundImage = Properties.Resources.note;
e.CellStyle.BackgroundImageAlign = ContentAlignment.MiddleCenter;
e.CellStyle.BackgroundImageLayout = ImageLayout.BestFit;
e.CellStyle.Render();
}
else
{ e.CellStyle.BackgroundImage = null; }
}
]
to attempt to address my inconsistent DGV cell image response with scrolling
& its seems to work. I could not locate any documentation WiseJ or MSFT regarding this
method off of e.CellStyle.Render();
the UI is still a bit slow — is it OK to manually invoke this render method for each row ?
Or am i causing an additional needless performance hit ?
DataGridViewCellFormattingEventArgs.CellStyle.Render();

 

 

0 votes

–COMMENT—  &  FOLLOW UP Question please              is it OK to manually invoke this render method for each row ?
– I didn’t want to make a fresh question for naught,
please & thank you

Greetings all, I did this — >   [ Image attached ]

[
if (iRowIndex >= 0 && iColIndex == colIndexNoteImage) // Image Column r.e. display
{
// DYNAMIC DISPLAY OF Notes Image WHEN Notes column has valid NoteId
pbNoteId = // from some other cell
if (pbNoteId > 0)
{
e.CellStyle.BackgroundImage = Properties.Resources.note;
e.CellStyle.BackgroundImageAlign = ContentAlignment.MiddleCenter;
e.CellStyle.BackgroundImageLayout = ImageLayout.BestFit;
e.CellStyle.Render();
}
else
{ e.CellStyle.BackgroundImage = null; }
}
]
to attempt to address my inconsistent DGV cell image response with scrolling
& its seems to work. I could not locate any documentation WiseJ or MSFT regarding this
method off of e.CellStyle.Render();
the UI is still a bit slow — is it OK to manually invoke this render method for each row ?
Or am i causing an additional needless performance hit ?
DataGridViewCellFormattingEventArgs.CellStyle.Render();

 

 

0 votes
In reply to: license invalid

Hi, my license is:…

  • Moreno answered Dec 8, 2023 - 11:06 am
  • last active Dec 8, 2023 - 11:09 am
0 votes
In reply to: license invalid

Hi Moreno,

sorry to hear that. Please contact us at supportATwisej.com with your license key and don’t post it in a public forum.

Thanks in advance,
Frank

0 votes

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

0 votes

“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();

0 votes

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.

https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewcellformattingeventargs

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.

  • Luca answered Dec 7, 2023 - 8:30 pm
0 votes
In reply to: webserial wrapper

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?

0 votes

Same problem.

0 votes
In reply to: Button click event

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

0 votes

Double with question some posts earlier.
Didn’t see because searched for “NavigationBar” not “Navigation Bar”

0 votes

Hi Frank,

thank you. Worked as you described.  (btw: The updated files are not part of the 3.2 archive zip file)

  • The reporting sample requieres a net4.8 environment and is not compatible with net.core due to system.web, right?
  • It requieres an old version of microsoft.sqlserver.types (12.0.5) – the actual version is not working.

Leads to the question if there is (by chance) a *net.core* report viewer example .. 😉

Regards, Olaf

 

 

0 votes
In reply to: Button click event

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.

0 votes
In reply to: Rounded Corners Issue

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.

0 votes

Hi Brayden,

You’ll need to set the StandardTab Property of the DataGridView to true!

Best,
Alaa

//

0 votes

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.

  • Luca answered Dec 4, 2023 - 3:29 pm
0 votes
In reply to: Rounded Corners Issue

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

//

0 votes
In reply to: Rounded Corners Issue

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.

0 votes

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.

  1. In the Solution Explorer, right-click -> Manage NuGet Packages
  2.  Click the “Browse” tab
  3. Search for the name of the extension that you want (ie “wisej ckeditor”)
  4. Select the extension and click “Install”
  5. Open the designer.
  6. Open the toolbox (View ->Toolbox)
  7. If you do not see the extension in the toolbox, restart Visual Studio and re-open the designer.

    HTH,
    Julie

Showing 941 - 960 of 11k results