All Answers

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

0 votes

Hi Sam,

You can use Swagger with Wisej.NET.

You can use your Wisej.NET application as a “Client” to use the API endpoints.

HTH,
Alaa

0 votes

Multitargeting is a standard feature of the sdk project format in visual studio and msbuild. You can use conditions to reference projects with different targets. It’s not Wisej issue.

 

  • Luca answered Mar 27, 2023 - 1:31 pm
  • last active Mar 27, 2023 - 1:31 pm
0 votes

User impersonation is a system feature, not a Wisej issue. If you have a small runnable sample that shows a Wisej related issue we can look at this further.

  • Luca answered Mar 27, 2023 - 1:27 pm
0 votes

Hi Alaa

Thanks for your reply, I will try the workaround, however does this mean that if i want to use WiseJ designer, then all projects in solution should be in .net48.

What would then happen if i want to deploy the solution on linux environment, would it still work?

 

Thanks.

  • Sam Baraka answered Mar 27, 2023 - 1:14 pm
  • last active Mar 27, 2023 - 1:15 pm
0 votes

Hi Zaeem,

You can do that by using the FlowLayoutPanel.SetFillWeight() method like the following:

this.flowLayoutPanel1.SetFillWeight(UserControl1, 100);

HTH,
Alaa

0 votes

Hi Sam,

Looks like the .NET Framework 4.8 dependency is the one that’s causing troubles?

Try editing the csproj file by removing the net48 dependency from the TargetFrameworks and see if that helps?

The only issue with this workaround is that you’re going to lose the designer capabilities, as with Wisej, .NET Framework 4.8 is required for the designer.

HTH,
Alaa

Showing 1721 - 1740 of 11k results