All Answers

0 votes

Attach a small runnable sample that shows your issue.

  • Luca answered Mar 29, 2023 - 11:28 am
0 votes

sorry about that – hopefully this time the attachment will stick.

also, you can url the issue at https://wisej.azurewebsites.net/?instanceId=2&conclusionId=3

0 votes

Hi Alaa,

Yup that works

Perfect

Devin

0 votes

Hi Alaa,
Awesome, I hadn’t seen that at all.
Application.Browser.PixelRatio is what I needed.

Thank you very much!
Best regards,

Antonio

0 votes

Hi Antonio,

Did you by any chance take a look at the Application.Browser property?

If not, you can always take a look at our Documentation!

From what it looks like, it has all the things you might need without having to fiddle with JavaScript!

HTH,
Alaa

0 votes

Here it is!

I placed the 4 different tests all in one button click event.

Thanks; best regards.

Antonio

0 votes

Hi Devin,

You should be able to handle the Formatting event and replace the newline tokens like the following:

private void DataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) {
if (e.ColumnIndex == 0 && e.Value is string)
e.Value = ((string)e.Value).Replace("\r\n", "¶");
}

HTH,
Alaa

0 votes

Alaa,

I see multiline is for cell editing.

Is there any way to display a single line then? or do you have bind only a single line string?

Thanks,

Devin

0 votes

Alaa,

I see multiline is for cell editing.

Is there any way to display a single line then? or do you have bind only a single line string?

Thanks,

Devin

0 votes

Hi Frank,

Thank you for your reply, I have attached some screenshots which the desired outcome and a sample program

The screenshot “sample-desired-result.png” I created manually with only single line data rows.

The screenshot “sample-results.png” is what the sample project displays.

WordWrap and Multiline properties have been set to False, maybe I am missing something else.

Thank you for your help again,

Devin

0 votes

Hi Devin,

I wanted to clarify the properties and their functionalities:

  1. Multiline is for the Cell Editing
  2. WordWrap is to wrap the content of a string

The Newlines character have nothing to do with word wrapping, since it’s a line wrap!

HTH,
Alaa

0 votes

Hi Vincent,

I have logged this as an enhancement request and we´ll check if we will add it.

Best regards
Frank

0 votes

Hi Antonio,

can you please wrap up a small compilable sample showing how you call your javascript code?

Best regards
Frank

0 votes

Hi Devin,

can you please wrap up a small compilable repro case and a description of the expected behavior?

Thanks in advance,
Frank

0 votes

Hi Stephen,

attachment is missing. Also a test app would probably be more helpful than a video, if possible.

Best regards
Frank

0 votes

Yes, of course. Tried everything I found in the forum and Application variables.

Application.UserHostAddress: 127.0.0.1
Application.UserHostName: 127.0.0.1

0 votes

Hi Stephen,

Unfortunately, we don’t have any 3rd party integration that enables the features you described.

I think the easiest thing to do is to search for any .NET library that offers said features and try integrating them with Wisej.NET.

HTH,
Alaa

0 votes

Hi Dirk,

Did you try using the Application.UserHostAddress property?

Best,
Alaa

0 votes

Thanks for the Replies, I have been trying this for a week now. If you have a sample application, maybe you could share.

Thanks alot and good job on WiseJ. I love it.

0 votes

Hi Harold,

Thank you for reporting the issue, we’ll investigate it and get back to you ASAP!

Best,
Alaa

Showing 1481 - 1500 of 11k results