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.
Hi Neil,
This issue is fixed in the latest 3.2.4-preview build.
Can you give it a try and let me know?
Best,
Alaa
Hi Nicholas,
You can modify the offset property to reduce the space between all popup menus, it’s under the “Menu” appearance.
Check the Screenshot for more details.
HTH,
Alaa
You could use the Shape Control, with a label on top for the text of the number.
https://docs.wisej.com/api/wisej.web/content/shape
https://docs.wisej.com/docs/controls/content/shape
To make a circle- Add a Shape object by dragging it to the designer from the toolbar. Then, in the designer, set the radius of the border to a big enough number so that it’s curved (I used 100). Then make sure the dimensions of the Shape object are a square (ie 50 by 50).
To make reusable, you can make a custom control with a Shape and a Label in it.
To create one, right-click on the project in the solution explorer-> Add -> New Item ->User Control.
Call it something like ShapeLabel.cs
Edit the code so that it extends the Shape class like so:
public partial class ShapeLabel : Wisej.Web.Shape
And then open it in the designer and add a label. You can set the modifier of the label to “Public” in the designer- this will let you access all of the properties of the label, such as the text.
shapeLabel1.label1.Text
You can simply drag the custom control into the designer from the toolbox. Note that after creating the custom control, you might need to restart Visual Studio before it appears in the toolbox. Additionally, you will need to compile the code before you can open the designer.
I have included a sample that shows both the simpler approach (adding a shape to the designer with a label on top) , and the better approach (creating a custom ShapeLabel control.)
Hi Alex,
Attached is a sample for using OpenID in .NET 4.8 with Wisej.NET.
HTH,
Alaa
You may want to check out the examples here:
https://wisej-demobrowser.azurewebsites.net/#Editors/TextBox/Input%20Types
Look at Input Type Month
Thanks,
Tim
Hi Cristian,
I fear this is due to a change in policies for autoplay.
Read more at
https://developer.chrome.com/blog/autoplay/
Best regards
Frank
Hi Poya,
please read our instructions for license activation. Maybe also consider “Local Servers without Internet Access”, depending on your docker container setup:
https://docs.wisej.com/docs/getting-started-1/license-activation
Best regards
Frank