All Answers

0 votes

Hi Johann,

I typed http://demo.wisej.com/Pannellum and both Chrome and Firefox show the demo and don’t add any trailing slash.

Please run the HtmlJsonAndMain example and try the MultiHtml project that plays a lot with URLs, but never uses a trailing slash.

  • Tiago (ITG) answered Oct 25, 2018 - 5:07 pm
  • last active Oct 29, 2018 - 6:42 pm
0 votes

Thank you, this helped.

Best regards

Rupert

0 votes
In reply to: Wisej Trial

We created the smallest ASP.NET account at https://www.interserver.net and did this:

  • Didn’t change any of their default settings
  • Copied over /bin, Default.html, Default.json, web.config, see https://wisej.com/docs/html/Deployment.htm. From the CodeProject sample.
  • Got a 500 error.
  • Changed web.config adding <customErrors mode=”Off” /> to see the error.
  • Turns out interserver is running on 32bit machines and the sample is using the 64bit SQLite driver.
  • Deleted System.Data.SQLite.dll

Everything works well: http://interserver.wisej.net/

Don’t use the DataBinding examples because of the reason above.

If you still have problems, attach your web.config.

 

  • Luca answered Oct 29, 2018 - 5:02 pm
0 votes

Hi Rupert,

by entered you mean when you click with the mouse into a text box ?
Because when I tab into a textbox this should already be the default behavior.

To add the same when clicking with the mouse try to attach to the Enter event
and then

this.textBox.SelectionStart = 0;
this.textBox.SelectionLength = this.textBox.Text.Length;

Hope that helps.

Best regards
Frank

0 votes

Hi Rupert,

maybe it was a “Stack Overflow” error ? This could be an indication for some infinite recursion in your code.
Is this a newly developed screen with Wisej or is it migrated code from Winforms of Visual WebGui.

In any case, can you please share some more details or send us some code ?
Either here or to frankATiceteagroup.com please.

Thanks in advance.

Best regards
Frank

0 votes
In reply to: Wisej Trial

Thank you

1- OK, my web hosting  is configured as Full Trust.

2- I made an Asp.Net Web forms app with this code:

protected void Button1_Click(object sender, EventArgs e)
 {

try
 {
 string path = Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), "test")).FullName;
 string FileName = Path.Combine (path, "test.txt");
 File.WriteAllText(FileName, "Hello World");
 this.TextBox1.Text = FileName;
 }

catch (Exception ex)
 {
 this.TextBox1.Text = ex.Message;
 }
 }

The result is:

C:\Windows\TEMP\test\test.txt

 

3- My hosting provider is:  https://www.interserver.net/

 

  • costureiro jdg answered Oct 29, 2018 - 1:23 pm
  • last active Oct 29, 2018 - 1:25 pm
0 votes
In reply to: Wisej Trial

Hi Costureiro,

As outlined at https://wisej.com/support/question/wisej-in-plesk-onyx thread:

  1. Wisej applications are ASP.NET applications. ASP.NEt applications required full trust.
  2. Wisej applications needs to write to the temp directory which is usually available to IIS at most providers. In any case, it needs to write to disk to create the pre-compressed bundles.

To test for 2. above please creste a running ASP.NET application on your web hosting and try to write something to a temp file using Path.GetTempFileName() and try to create a temp directory using Directory.CreateDirectory(Path.Combine(Path.GetTempPath(), “Test”).

Please inform what hosting provider are you using.

  • Tiago (ITG) answered Oct 28, 2018 - 10:07 pm
  • last active Oct 28, 2018 - 10:08 pm
0 votes

Hi Mark,

async/await has no standing issues concerning context restore – it was throughly tested.

Just to mention the public code base, async/await is used in several extensions and examples, GoogleMaps example for instance.

  • Tiago (ITG) answered Oct 22, 2018 - 8:19 pm
  • last active Oct 28, 2018 - 10:01 pm
0 votes
In reply to: TabControl

Sorry, my fault.

The property is called Hidden and it´s working fine:

TabPages[n].Hidden = true | false

Best regards
Frank

0 votes
In reply to: TabControl

Hi Ricardo,

TabPages[n].Enable = false disables all controls on that tab page but still makes the page selectable.
The command you are searching for is TabPages[n].Hide(). But it seems there is a regression here.

I will log an issue and keep you updated.

Best regards
Frank

0 votes

Hi Luca,

thanks for help, very complete answer!

0 votes

Try a couple things…  make sure your user profile is a local admin on the machine.  Also – try running Visual Studio as Administrator…

If I recall this may have helped us in the past.

1 vote

See attached fixed app. It shows the problem and the fix in Wisej and WinForms.

The problem is that when you assign the data source in the Load event you can’t use the rows right away when it’s in a user control. The same happens in WinForms (your sample doesn’t work in winforms as well). The DGV data binding implementation may populate the rows several times depending on the binding context changed event. You should use the DataBindingComplete event.

The same happens if you change colors right after assigning the data source in a child of a child. When the binding context changes the rows are recreated and your changes are lost. If you use the DataBindingComplete event it works well.

 

 

  • Luca answered Oct 25, 2018 - 4:38 pm
  • last active Oct 25, 2018 - 4:42 pm
0 votes

The red alert in the designer is not related to the license. It’s the html renderer that times out. We have seen this happening when there are permissions problems but were never able to reproduce in any way. Can you try on a different machine? Make sure IE11 is installed, maybe check IE11 permissions. If you still have problems contact us at support at wisej.com directly.

  • Luca answered Oct 25, 2018 - 4:13 pm
0 votes

Hi Tiago,

yes it’s correct your suggestion, but what i posted is a sample from my working project where I need to set different DataSource for DataGridViewComboBox on every line. That’s why the sample is setting it on every line. In my working project i have no problem doing that on a Window with DataGridViewComboBox, but using a UserControl no datasource is set.

 

Thanks for any further suggestion.

 

UPDATE

Note that also trying to set background color for row, no color is set. Seems that the DataGridView in the UserControl is not updating.

I attach the sample updated (WisejDGV3.zip).

 

0 votes

Hi Simone,

When using a ComboBox column in a DGV, the ComboBox data source should be specified just once. Your original project was specifying the ComboBox data source on every row.

Please find attached your project fixed and converted to WinForms.

There is a DataBinding example in GitHub but it doesn’t show an example of a ComboBox column. It will be updated.

 

  • Tiago (ITG) answered Oct 25, 2018 - 3:22 pm
  • last active Oct 25, 2018 - 3:23 pm
0 votes

Good morning,

we have the same issue on our development server. License activated correctly, we see “Valid” on license window. I try to delete the folder  C:\ProgramData\IceTeaGroup\Wisej with the wisej-developer.lic and I redid the activation, but nothing change. We have red alert triangles on our VS project (we use VS 2017 Community). What can we do now?
Thank you.

0 votes

Hi Luca,

I try with the lastest code, but I have the same issue (with MacOS 10.14 and Safari 12.0, however no problem on windows browsers) 🙁

Jeremy

  • jeremy bourdon answered Oct 24, 2018 - 6:44 am
  • last active Oct 24, 2018 - 6:46 am
0 votes

The DataGridView is a complex widget with several independent parts that render their internals as HTML for speed, plus actual widgets (the headers) and they have various styles (appearance keys) in the theme.

Overriding a cell renderer is easy, the DataGridViewColumn and DataGridViewCell objects have the CellRenderer property that lets you set a custom javascript renderer. For the javascript part, you can simply derive from the basic existing renderer: wisej.web.datagrid.cellRenderer.Cell. BTW, all the renderers and js code is here: https://github.com/iceteagroup/wisej-js

The cell renderer can change the appearance key.

For the column header it’s different since those are actual widgets (while cells are not, they are the rendering result of a panel in the grid). But you can override the base column class and change the appearnce key of the header widget. This should be easier in the future.

See attached sample project. It’s simple but you need to know where to change things. I hope it’s enough to get you started.

 

  • Luca answered Oct 23, 2018 - 8:43 pm
  • last active Oct 23, 2018 - 8:43 pm
0 votes

You can use any Kanban widget of your choice with the Wisej.Web.Widget. Wisej can integrate easily anything, it’s a lot better than rewriting the large amount of javascript controls that are out there. I looked around but didn’t see any good open source one – there many complex looking widgets though.

Should be easy with existing Wisej controls to build a simple Kanban board, but you can also use any existing one on the market.

  • Luca answered Oct 23, 2018 - 8:07 pm
Showing 6621 - 6640 of 11k results