Hi Matthew,
Key* events are so called Lazy Events in Wisej.NET.
They only fire for your control if you attach a handler to them.
It´s not enough e.g. to just override OnKeyDown.
Please find attached a simple sample that attaches to KeyDown.
Once you attached to it, you can also use the TextChanged event because
it will also be synced together with the KeyDown event.
(see uncommented code in KeyDown, it´s enough to just attach to it).
Best regards
Frank
Very grateful for your help
Hi Paul,
As requested, attached is the source code for the sample.
Best,
Alaa
Hi Kieran,
This issue was indeed fixed in version 3.2.3 of the extension.
When a NavigationBar is collapsed, only the ItemClick event would work, and if it’s not, both the ItemClick and MouseClick events will work.
Can you please give it a try?
Best,
Alaa
Hi Kieran,
Did you checkout the latest preview builds of Wisej.NET 3.2.4?
A similar issue was fixed and we published it in a beta build, you can find it on NuGet, can you please check it out and let me know if it’s fixed?
Best,
Alaa
Do you have an idea of when this will be fixed?
Thanks,
But these are different demos. I am looking for the code to go forward and return to the same item of the Datarepeater: https://demo.wisej.com/datarepeater/
Hi Dino,
You can’t add rows to a data-bound DataGridView.
You can simulate a DataBound DGV by calling the Fill() method of the DataGridView, and passing the data object.
From there, it’s a matter of handling the CellClick event and implementing your logic, and also applying the same styling principles of the sample found in the forum post you linked.
Or, you can build the DataGridView by code.
HTH,
Alaa
Hi Paul,
You can access the newly created DataRepeater demo on the DemoBrowser.
You can check the source code directly from the application itself, or by browsing the GitHub Repository.
HTH,
Alaa
Hi Martin,
please contact us at salesATwisej.com including your current license key.
Best regards
Frank
You cannot set the session timeout to 2 seconds. It’s explained in the default.json file itself. The minimum is 60 seconds, and the timeout will fire at 120 (timeout * 2) in order to be able to keep the session.
This is different from ASP.NET where the session timeout fires AFTER the session has already expired and disposed.
There is a full explanation on session management in the docs.
Hi Sergio,
You’re correct, setting the Session Timeout by calling Application.SetSessionTimeout() would invalidate your session, so the paint won’t work.
Also, I want to quickly mention, that it is far better to set the ImageSource property, or the Image for that matter to the image you want to display you want as opposed to using the Paint event, because it’s resource heavy.
HTH,
Alaa
Hi Nikos,
A similar question was answered previously, please check out https://wisej.com/support/question/google-maps-marker-options-question for more details!
Best,
Alaa
Hi Walter,
Sorry for the delayed response, what you found is correct.
You can launch your application from the command line like you stated above, “application.exe –urls http://*:5050” for example would let you access any website from any machine on your network.
You can try configuring the launchSettings.json file however you like to adapt to your requirements.
That’s basically how easy it is with .NET Core, you don’t need the dotnet SDK dependency as you can publish your app as “self-contained” and it would work on whatever environment is supported, everything is pretty much the same process, while the executable may change, for example with Windows, it’s Application.exe, in Linux and macOS, it’s just Application!
HTH,
Alaa
Hello
I have now found the solution myself. The site https://weblog.west-wind.com/posts/2016/Sep/28/External-Network-Access-to-Kestrel-and-IIS-Express-in-ASPNET-Core
So far I have repeatedly encountered outdated references in my search for solutions. It’s confusing if you’re not familiar with the subject.
So the solution is after the publish with eg. “dotnet Applikatons.dll –urls http://0.0.0.0:5050” to run the Kestrel server with a different port and with the possibility of access outside of localhost.
This helps me immensely. Maybe there are other solutions?
Hallo
habe nun selbst die Lösung gefunden. Geholfen hat die site https://weblog.west-wind.com/posts/2016/Sep/28/External-Network-Access-to-Kestrel-and-IIS-Express-in-ASPNET-Core
Bisher bin ich auf der Suche nach Lösungen immer wieder auf veraltete Hinweise getroffen. Das verwirrt wenn man sich noch nicht mit der Materie auskennt.
Also die Lösung ist nach dem publish mit zB. “dotnet Applikatons.dll –urls http://0.0.0.0:5050” den Kestrel-Server mit anderen Port und mit der Möglichkeit des Zugriffs ausserhalb von localhost zu betreiben.
Dies hilft mir schon ungemein weiter. Vielleicht gibt es noch andere Lösungen?
Dear Frank,
I’ve been away from development activities, and I’ve just returned.
I found out what causes this problem. Right at startup of the application, I had used the command:
Application.SetSessionTimeout(600)
This command stops calls to Paint events as well as not loading images from 3.3.2.2 (including the last update 3.3.2.3).
Thus, I added the parameter below inside the Default.json instead of the command above during the application startup.
“sessionTimeout”: 600
The problem was solved. Obviously the questions are: Why? What happens with Application.SetSessionTimeout?
Best wishes,
Sérgio
Hello,
This feature is not supported. There is no automatic wrapping or ellipsis truncation for a TreeView.
As an alternative, you can set AllowHtml true and put multiline text in a node.
For example:
treeView1.Nodes[0].AllowHtml = true;
treeView1.Nodes[0].Text = "This very long text has <br> breaks because it is too <br>long to fit otherwise.";
-Julie
Hi Sascha,
You will need a professional server license to debug the premium controls.
The quote you are referring to on the page is for the using Wisej.NET standard components and all other extensions, except for the premium ones.
You would need a valid Professional-tier server license that’s activated at least one time on your local machine for you to debug it.
For more info, please contact us at sales [AT] iceteagroup.com.
Best,
Alaa
Hi Alaa – I can confirm it’s fixed in 3.2.4-preview. Thank you.
