Hi Kizaemon,
The RadioButton control can be controlled in any way an application needs to.
You can set the AutoCheck property to false and then handle the CheckStateChanged event.
You can checkout our API Documentation for more info!
Also, you can combine my answer from an older post of yours for better results!
HTH,
Alaa
It’s not bizarre. Static means it’s shared across all threads. The timer is created once (since you created it as a static component). Which means browser1 fires the timer. Then you attached multiple handlers to the same timer instance (because it’s static) therefore the handlers are invoked by the thread that fired the event, which means they execute for other sessions out of context. This is not something related to Wisej.NET. It’s simply the way static instances of anything work.
Polling is alternative to websocket.
I tried your sample is all works as expected.
Attach to the https://docs.wisej.com/api/wisej.web/general/application#threadexception event.
Just load webcard.js in the browser and call its methods.
This is a simple configuration of Serilog in code (Program.cs):
var logFile = (string) Application.Configuration.Settings.logFile;
Log.Logger = new LoggerConfiguration()
.WriteTo.File(
logFile,
rollingInterval: RollingInterval.Day,
retainedFileCountLimit: 7,
shared: true,
encoding: Encoding.Default, // SBCSCodePageEncoding
outputTemplate: “{Timestamp:yyyy-MM-dd HH:mm:ss.fff} [{Level:u3}] {Message:lj}{NewLine}{Exception}”
)
.CreateLogger();
Or place the configuration in Web.config and read it from there.
Then log wherever you want:
Log.Information(“Something happend.”);
Log.Error(“Something bad happend.”);
See also https://github.com/serilog/serilog/wiki
Cheers, Gerhard
Hi Vincent,
Sorry for the late reply!
We’re currently investigating the issue and we’ll update you when a fix is released!
Best,
Alaa
Thanks for the quick reply! I will try the focusable property. I was (am) confused why it worked up to version 3.1.2
It’s not a Wisej bug. The movable property allows the client to move a widget within its container. The issue you see is the browser scrolling one of the 150 controls that you add a children of the PictureBox when they get focused. Add TestControl.Focusable=false. For priority support or custom professional services we have several options: https://wisej.com/services-packages/, https://wisej.com/technology-partner/.
I am curious on how this post suddenly got 6k views lol Also sorting imagecolumns would still be a nice thing. 🙂
Check if your browser supports the client file api. Probably doesn’t.
How did you derive it from DataGridViewTextBoxColumn? Did you manually do this? I am not able to choose DataGridViewTextBoxColumn in the Type Picker. When I manually create the public class it does show up, but when I am switching between designer mode and code mode, it keeps messing up the designer.cs file.
Hi Aravind,
I just tried here deriving from DataGridViewTextBoxColumn and it showed up in the Column Editor immediately.
Is your class declared as public? If it is please share some code so we check it.
Best regards
Frank
Hi Vincent,
This issue is fixed in our latest release (Wisej.NET 3.1.5)!
Best,
Alaa
//
Hi Alaa,
Putting the Application.Update in the timer event indeed does the trick but why do I have to specify it? The first application instance (the one which appears when starting the application from Visual Studio updates the form and label without having to call the Update method. The following instances in new browser tabs only work well when calling the Update method. Bizar, isn’t it?? It’s a bit worrying that what you see when starting the application is not what the ‘normal’ users get to see. I’ve attached a solution showing the problem.
Thx,
Tom
Anything yet?
I no longer use image columns and instead use boolean/checkboxes instead becuase the filter extension does support this method. Trying to sort without the extension on boolean values doesn’t work either. Sorting (or filtering) images would be great a lot of usecases.
Thanks!
Vincent
Any update on this?
Thanks!
Hi Neil,
Sorry for the late response, the extension was just updated with a fix for this issue!
While it’s still not available as a NuGet package, you can still clone the Extension Repository, build it and then include it in your projects!
We’ll let you know when the NuGet Package is shipped.
Best,
Alaa
//
Hi Tom,
Would you mind wrapping up a small sample?
You don’t need Polling if WebSocket is enabled, if the update is reflected only when you move a window that means that the context needs updating.
It’s a very simple Application.Update(this) call, where this is the control you’re trying to update!
You can add it to the timer_TickUpdate method:
private void timer_TickUpdate(object sender, EventArgs e)
{
counter++;
Application.Update(this);
}
HTH,
Alaa
Hi Alaa,
Thanks for your reply!
The conditional compilation approach needs to add a lot of additional code as I did in the attached example.
The addition of a reference to a separate branch is not useful. I can not use the code from the external library in this case in a WiseJ form. Or am I wrong? Can you give me an example?
Best regards,
Yaroslav