All Answers

0 votes

Hello,

Looks like the VB.NET compiler doesn’t use the folder names to build the embedded resource name. It only uses the default namespace of the project + the file name.

You can still place your embedded resources in \Resources or \Platform in VB.NET, but you also have to rename the file like this:

  • \Resources\my-code-to-bundle.js -> \Resources\Resources.my-code-to-bundle.js
  • \Platform\my-code-to-bundle.js -> \Platform\Platform.my-code-to-bundle.js

For more info, please check out the relevant documentation about Embedded Resources (Look a the VB.NET alert).

HTH,
Alaa

0 votes

Yes. If by dynamically created controls you mean controls created by code, all controls are always created by code. There is nothing different and no other way to created any instance of any class in .NET.

The error you see is CS0176 and it’s also described in the error log. It’s telling you to use a class name instead of “this”. Simply because you declared the method as static. It’s completely unrelated to events.

https://learn.microsoft.com/en-us/dotnet/csharp/misc/cs0176

 

  • Luca answered Jan 25, 2023 - 11:07 pm
  • last active Jan 25, 2023 - 11:08 pm
0 votes

I am attempting to manually add the event handler to my dynamic buttons and now this

[ https://stackoverflow.com/questions/45194678/how-can-i-manually-build-one-valid-drageventargs-object-in-order-to-call-the-win ]

0 votes

Please attach a WinForms project that works the way you want it to work.

Best,  Alaa   

Humbly I have attached s sample solution.      Hypothesis was Drag Drop on FormLayoutPanel

I am questioning the feasibility of creating appropriate event(s) for the  dynamically created buttons

that are added to FormLayoutPanel   as THEY ,  are the controls being drug to another FormLayoutPanel.

It seemed like a pretty straightforward question to me … but   here is the test project anyway if that helps.

AGAIN for clarity per the document referenced above. which appears to operate on a row of a DataGridView.

It “SEEMS” like I will need to manually add — during the dynamic creation of my buttons their events for Drag Drop  ?

I’d like to confirm the minimum required (drag drop related ) events that I need to slap onto these dynamic buttons in my FlowLayoutPanel as

well to Drag the dynamic buttons from      FormLayoutPanel#1      to FormLayoutPanel#2

please  &   thank you

1 vote

Hi,

Please attach a WinForms project that works the way you want it to work.

Best,
Alaa

//

0 votes

Hi Neil,

We’ll investigate the issue and get back to you as soon as possible.

Best,
Alaa

0 votes

Hi Alaa,

when I create the file js, I create the folder “Platform” and I enable the attribute in the AssemblyInfo file.
To embedded the javascript I have to do something else? If yes, what I have to do?

Thank you very much for the support

0 votes

Mystery solved!
I had a VPN connection to a windows open. As soon as I closed it, demobrowser worked.
Now, why the specific VPN decided to stop traffic to demobrowser but all other traffic works… I don’t know!

Best,
Alex

0 votes
In reply to: TableLayoutPanel

Is it possible to edit the theme? I searched a lot but couldn’t find the right place for bootstrap ?

  • HSoft answered Jan 20, 2023 - 12:43 pm
0 votes

Good Morning Cristian, excuse me for intrusion, how can I contact you for some info about the diffusion of Wisej in Italy?

I’m trying to create a community of Wisej.NET developers in Italy and maybe you might be interested in the project.

Have a nice day.

Gabriele Del Giovine.

0 votes

Hi Alex,

The AddNew() method adds a new record to the datasource.

It would work on a non databound DataRepeater only when it’s in VirtualMode.

Best,
Alaa

//

0 votes
In reply to: TableLayoutPanel

Hi Hsoft,

Unfortunately, we don’t have that property in the TableLayoutPanel because it’s a single-panel container, there are no cells on the UI.

You can use the Canvas control, Line control or Shape control to draw lines.

HTH,
Alaa

//

0 votes

Hi Lautop,

Thank you for providing the information.

We’re investigating the issue and will get back to you as soon as possible!

Best,
Alaa

//

0 votes
In reply to: NavigationBar Bug
Hello Alaa, I'm using Wisej version 3.1.5 and Navigation Bar version 3.1.5
  • rdytop answered Jan 19, 2023 - 3:18 pm
  • last active Jan 19, 2023 - 3:18 pm
0 votes
Hello Alaa, I'm using Wisej version 3.1.5 and NavigationBar version 3.1.5
  • rdytop answered Jan 19, 2023 - 3:09 pm
  • last active Jan 19, 2023 - 3:09 pm
0 votes

Hi Pavel,

Attached is a modified version of your sample.

Like Luca mentioned, it’s best to use HTML rather than using a LinkLabel in a ListViewItem.

You can either use regular HTML links or you can have multiple links in a single item using the “Role” attribute.

The sample include both of these approaches.

PS: for the second ListView, make sure that you click over the “roles” text to see the functionality!

HTH,
Alaa

//

0 votes

The column auto resize ColumnContent is based on the column content. It doesn’t use the item’s hosted control.

A better way to show a link in a cell is to use HTML content and handle the click.

  • Luca answered Jan 19, 2023 - 3:00 pm
0 votes

Thank you for the answer, yes I’ve remove comment on the assemblyinfo.vb.file..I’ve attached an example, I rewrite it in c# but I have the same error, so I miss something.

Thank you

0 votes

Ok, this is really strange. I  cannot access it from my laptop, either from Chrome or Edge.

But it works on my mobile phone. Both, laptop and mobile phone, connected to the same wifi…

Obviously not your problem buyw, sorry for the false alarm.

Alex

0 votes

Hi Nicholas,

The TagTextBox only has horizontal scroll bars.

The way to enable them is to set AutoSize to false.

HTH,
Alaa

//

Showing 1601 - 1620 of 11k results