All Answers

0 votes

Hi Angelo,

sorry for the delay but with the latest Wisej release (1.5.43), just published,
padding for controls in a cell is supported as you have tried to use it.

Best regards
Frank

0 votes

Hi Michael,

thanks for your interest in Wisej.

Basically in Wisej you can have 3 kinds of top level UI containers:

  • Page
  • Window
  • Desktop

The Web Application Template creates a single main window (form) while the Web Desktop Application creates
a desktop main window.

You can see a running demo for the desktop interface at http://demo.wisej.com/CodeProject

For a simple comparison of the UI containers you can take a look at the UI Container sample:
https://github.com/iceteagroup/wisej-examples/tree/master/UIContainers

For a discussion about wether to use windows or pages and some more input, please read here:
https://wisej.com/support/question/windows-or-pages

Hope that helps.

Best regards
Frank

0 votes

Thanks Cristian.

This issue is logged as #1743 and will be fixed in the next release.

Best regards
Frank

0 votes

You cannot do PWA with Wisej. Wisej always needs a server.

  • Luca answered Jan 9, 2019 - 12:34 am
0 votes

Thank you for your reply on Application.LicenseKey, Frank. Ok, I will email you about the licensing stuff. Cheers.

0 votes

Hi Diwakar,

thanks for your reply.

You can set the LicenseKey programmatically as Application.LicenseKey

Please note that each OWIN instance requires a valid license key each.
To discuss your licensing options we will contact you directly.

Best regards
Frank

 

 

0 votes

Thank you very much for the clarification and helping with the fixes, Frank.

From the original OWIN sample, we misunderstood about the web.config specific settings and mistakenly mixed it up with app.config. Sorry about that. I appreciate your team’s prompt and perfect reply. I really enjoy developing with Wisej and recommended it to several developers. Soon I will blog about Wisej.

I emailed you few questions for the clarifications.

(1) Is it possible to apply the wisej key programmatically in the code instead of specifying in the web.config? Could you pl point me to an example code snippet?

(2) As we are developing a OWIN Windows service application (Windows Web Server Defender software) that may be supplied to hundreds of our customers do we need to change the wisej licence key for this application every year or if used once in the application will it remain active until the code is rebuilt again? Our Windows Server Defender product costs just $1 per month for our customers. I request your clarification in this regard.

0 votes

Thank you. Looks like a regression, logged as #1740 https://wisej.com/issues/

  • Luca answered Jan 8, 2019 - 5:41 pm
0 votes

Hi Abel,

it’s not complete clear for me what your issue is. But for that what I understand, perhaps you’ve mixed Wisej 1.5 and Wisej 2 installation?

Created a Wisej 2 project and tried to drag a Wisej 1.5 control on the designer?

Please provide more details.

Best,

Jens

0 votes

Hi Frank,

I emailed you our demo application source code. Pl check it and help us fix this issue. This is a blocker. This issue cropped up only after upgrading the OWIN Self Hosted application to Wisej.Framework (2.0.4) from 1.5.41.

Thanks and regards,
Diwakar

0 votes
I think it's excellent if it's that simple to incorporate it, thank you very much
0 votes
Sorry, the example appeared just like the image, thank you very much
0 votes
The example that I attached Wisej.TelerikReportViewer does not have the sample report that it shows in the Image.png, I would really appreciate if you send it to me with that example please.
0 votes

You don’t need any special integration. Just use Wisej.Web.Widget to include the Telerik HTML5 ReportViewer. Follow the instruction on Telerik’s documentation for the HTML5 viewer. See attached sample, it used their demo server. You can change it to use your Telerik reporting server.

 

  • Luca answered Jan 7, 2019 - 4:12 pm
0 votes

It’s a problem with the row of different height. Unfortunately there is no solution other than make the rows of the same height at the moment. You can also use the KeepSameRowHeight property to keep the row heights in sync. I hope to have a better update on this issue soon.

  • Luca answered Jan 7, 2019 - 3:49 pm
0 votes

See attached sample.

  • Luca answered Jan 7, 2019 - 3:27 pm
0 votes
In reply to: Tree View Images

The path is correct in the designer, it’s the rendering of the image path in the ImageList component that is broken. It’s #1737. If you assign the same ImageSource to the TreeNode it works well. If you replace the slash in the designer as a temp workaround it works but it won’t shoe the thumbnail in the designer properties.

  • Luca answered Jan 7, 2019 - 3:24 pm
0 votes

Hi,

The microsoft toolkit bringing it’s own set of limitations & problems, I researched another way and found a working solution using CefSharp.

Prerequisites

✔️ Visual Studio 2017.
✔️ Windows 10 Insider Preview Build 17110 or a later release for WebViewControl-based underlying implementation.
✔️ .NET Framework 4.6.2 or a later release.
✔️ Configure your application for high DPI support. To learn how, see this section of the guide

You can install CefSharp Through NUGET

In your code, define a global variable, then  after the InitializeComponent(), you can call this custom InitializeChromium() routine.

private void InitializeChromium()
{
CefSettings settings = new CefSettings();
//Initialize Cef with the provided settings
Cef.Initialize(settings);

//Create a browser component
ChromeBrowser = new ChromiumWebBrowser(“http://Server/WisejPage”);

//Add the browser to the form
this.Controls.Add(ChromeBrowser);
ChromeBrowser.Dock = DockStyle.Fill;
}

private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
Cef.Shutdown();
}

There is a video showing all this here

Currently :

– I still have to choose the compile 86/64, anyCPU is showing no Browser,

– Even that formclosing is handled, a Cefprocess is left orphan at program close.

Regards.

0 votes

Hi Luca,

  • I created a class and pasted your Browser.cs code, which created a new Broswer control, I used via the designer.
  • When running the code, the registry entries get created and set correctly. Just to be sure I also manually added the entries under wow6432Node.
  •  I also tried adding FEATURE_ENABLE_CLIPCHILDREN_OPTIMIZATION as referenced in the Microsoft link.

Nothing is helping, still “Browser not supported”

Then I tried another route, trying to use the Edge Browser by using the Microsoft.toolkit.Forms.UI.Controls.WebView NUGET library 5.0.1, but here I got a new set of problems  related to that library

https://stackoverflow.com/questions/50611822/c-sharp-using-microsoft-toolkit-win32-ui-controls-in-net-framework-4-6-1-web)

https://stackoverflow.com/questions/52819469/winforms-dies-in-endinit-of-microsoft-toolkit-win32-ui-controls-winforms-webview

Limiting the solution to Win10 using that library seemed acceptable, but the library isn’t performing at all in my Winform test.

So by now there is no valid solution.

Sorry to come back with bad news.

Regards.

Showing 6421 - 6440 of 11k results