All Answers

0 votes
In reply to: HELP ChartJS3 DateTime

Hi Cristian,

Can you please attach a small sample and link to a demo you’re trying to reproduce?

Thanks,

Levie

0 votes

Ok then I need to do some work. I want to be able to use html but want to use any user data as plain text.

 

Thanks for the quick reply!

  • vincent_ answered Jul 19, 2022 - 2:33 pm
0 votes

Yes AllowHtml allows html. Any html. That’s by design. Your users are allowed to do what your application allows them to do. If you place user generated content into a label without any check it’s an application choice, we don’t limit what a developer can do. That’s more of a CMS task.

  • Luca answered Jul 19, 2022 - 2:26 pm
0 votes

Hi Levie,

thanks for the feedback and looking forward for the new roadmap.

best regards

Bernhard

0 votes

Hi Shady

could you please tell us which version of Wisej.Net are you using

and also send us a little runnable sample with what you comment us

thanks

  • Paul answered Jul 18, 2022 - 2:16 pm
0 votes

Hi Bernhard,

The plan is to drop the designer dependency for .NET v4.8 and use the new .NET 6 designer.

We’re currently working on publishing a new roadmap with a timeline for this and other new features.

We’ll keep you posted as new developments are made!

Regards,

Levie

0 votes

Hi

Here a thread where we talk about this

There is not a Wisej.Net problem

regards

  • Paul answered Jul 18, 2022 - 2:12 pm
0 votes

I had the very problem.

I ended up with putting all database design stuff in separate .net 6.0 only project.

Does anyone have a better idea?

On a side note, sometime it helps to temporarily remove net48 from the frameworks and then install a NuGet net6.0 package.

Cheers, Gerhard

0 votes

Hi

I checked it , when I change target framework just net6.0 no problem but ı dont design form and window but when ı set net48;net6.0 get an error

Have you any solition ?

Thanks

  • HSoft answered Jul 17, 2022 - 3:29 pm
0 votes

Hi, Levie! Yes, thank you, proposed workarounds are fixed erroneous behavior. But don’t you think it needs at least some harmonization in these things? For NF 4.8 a project root and web root is the same place, but for modern .net core it is different as we can see. May be some logic in Wisej internals needs to be changed to allow loading Themes, Web.config (and may be some other things) from the same place (web root) to eliminate additional copy steps?

0 votes

@Levie, @Frank.  I think I’ve gotten closer to resolving the problem.

I opened \Documents\Visual Studio 2022\Templates\ProjectTemplates\Visual C#\Wisej 2\WebApplication\Application.vstemplate and commented out the WizardExtension block and this template just magically worked.

  <!–
<WizardExtension>
<Assembly>
Wisej.Framework.Design.2022, Version=2.0.0.0, Culture=neutral, PublicKeyToken=17bef35e11b84171
</Assembly>
<FullClassName>Wisej.Design.Wizards.StartupProjectWizard</FullClassName>
</WizardExtension>
–>

Here is the problem.  I do not have an assembly on my system called Wisej.Framework.Design.2022.dll.  The closest I have is Wisej.Framework.Design.dll and via the Decompiler it does NOT have a class there called Wisej.Design.Wizards.StartupProjectWizard.

I have WiseJ 2.2.60 installed on my box.  I think, maybe the templates are making assumptions about various DLLs being present on the system that aren’t really there.

  • Matthew Ferry answered Jul 16, 2022 - 6:07 am
  • last active Jul 16, 2022 - 7:14 am
0 votes

Thanks Vincent.

We started to remove the Html from TooltipText exactly for the reasons you pointed out in your additional comment.
It appears it was not completely removed though.
This issue is fixed and currently in QA. We´ll include it in the next build and I notify you when it´s available.

Best regards
Frank

0 votes

Afters some additional testing it seems the tooltip on the flowlayoutpanel should not be allowed to display html the way it does now… I can put in anything and the browser will show/do it. This is a problem as it is not sanitized.

For example: you can add “<form id=”test”></form><button form=”test” formaction=”javascript:alert(Foobar)”>X</button>” and it will do it. This can cause problems.

  • vincent_ answered Jul 15, 2022 - 6:02 pm
0 votes

Hi Alex,

Please see the following video for a demo of deploying an In-Process and Out-of-Process Wisej.NET 3 (.NET 6) app to IIS:

https://www.youtube.com/watch?v=xZtPk3sZYcc

You’ll need to have the .NET 6 Windows Hosting Bundle Installed:

https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-6.0.6-windows-hosting-bundle-installer

HTH,

Levie

0 votes

Hi Alexander, For issue #1, using the themes and mixins with .NET 6: The issue is that the Themes folder is not copied to the project root (for .NET 6 this is the same level as the assemblies). You can add the following lines to your .csproj file to copy it automatically:

 

<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))'!='net'">
 <None Update="Themes\**\*.*">
 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
 </None>
 </ItemGroup>

 

For issue #2, If you’re using .NET 6 the web.config file needs to be located at the project root (the same level as the assemblies). You can copy it into the csproj file:

<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))'!='net'"> 
<Content Update="Web.config"> 
<CopyToOutputDirectory>Always</CopyToOutputDirectory> 
</Content> 
</ItemGroup>

 

HTH,
Levie

  • Levie (ITG) answered Jul 15, 2022 - 3:28 pm
  • last active Jul 15, 2022 - 3:31 pm
0 votes

Hi Jorge,

Regarding latency, please check the size of your datasets and images (if you load a lot of them dynamically). You can also take a look at the websocket data compression

Brotli – Wisej.NET Extensions

https://docs.wisej.com/docs/concepts/compression
Note. You can use Google Chrome to simulate a low latency connection

Best,

Kevin (ITG)

  • Kevin answered Jul 15, 2022 - 1:42 pm
0 votes

Thanks Alaa! I will try and convert the sample to VB and let you know if I run into any issues. At first glance this looks to work!

  • vincent_ answered Jul 14, 2022 - 5:24 pm
0 votes

Hi Vincent,

What you need to do is that you’ll have to implement Static Events.

I have attached a sample that showcases it.

Please note that you’ll need to disconnect from these static events when the page is disposed.

HTH,
Alaa

//

0 votes

Hi Sebastian,

Unfortunately, there isn’t a control that can mimic the exact layout you want.

However, what you’re seeing there is a combination of multiple controls.

You can mix and match Panels and SplitContainers.

As an example of that, you can have a 2 SplitContainers and a Panel, the Panel being docked to the right and the SplitContainers are set to fill.
I have attached a sample that showcases this!

With that being said, you would also have to specify a ruleset for the layout, like deciding whether each column will support one or two rows, how it would behave on different screen sizes, etc…

Replicating VS2022 layout is a complex task and thus it’s outside the scope of the free support, we offer professional support packages and services, you can check this link for more info: Professional Services – Wisej.NET

HTH,
Alaa

0 votes

Frank, I did run updateConfiguration command in an elevated Visual Studio prompt.

I ran procmon to see what is going on when you click Create.  Doesn’t seem like there is a NOT FOUND error anywhere.  So not sure whats going on.

 

Showing 2121 - 2140 of 11k results