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.
Thank you, this helped.
Best regards
Rupert
We created the smallest ASP.NET account at https://www.interserver.net and did this:
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.
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
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
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/
Hi Costureiro,
As outlined at https://wisej.com/support/question/wisej-in-plesk-onyx thread:
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.
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.
Sorry, my fault.
The property is called Hidden and it´s working fine:
TabPages[n].Hidden = true | false
Best regards
Frank
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
Hi Luca,
thanks for help, very complete answer!
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.
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.
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.
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).
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.
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.
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
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.
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.
