Attached test app here after removing bin and obj per Frank’s suggestion.
I am going to test moving the child control (label) to another parent (panel) when the ResponsiveProfileChanged Event is triggered and see how that goes.
thanks
Christian,
I meant upgrade to Wisej.NET 3.2.0 or new via the Visual Studio Nuget Package Manager.
About the reordering, it´s easy to add this to e.g. a FlowLayoutPanel by using the Movable property of the buttons.
Find a simple sample attached.
Best regards
Frank
Hi Christopher,
the sample you send to support does not seem to match the screenshots you´ve attached here.
You can also upload sample code to the forum here if you delete the bin and obj folders before zipping it.
If you need more complex actions that are not supported by the Responsive Properties marked by the tiny tools in the designer,
you can handle the ResponsiveProfileChanged event and change parents for child controls etc.
Best regards
Frank
I noticed that VWG allowed re ordering of items in the drag drop panel whilst WiseJ doesn’t reorder items via drag drop.
So in the attached image if Box A B and C are in the panel already Drag Dropped from top panel I cannot manually reorder their sequence in the destination panel to my liking for example manually drag drop in same panel such that the items are now listed in the order of C, B, A .
You instructed “Please upgrade your nuget packages and try again.”
Which nuget packages might you be referencing please just for future reference,,, thank you .
I have confirmed that I can manipulate multiple controls individually after removing the call to the script.
Thank you
Christian,
I´ve tried your sample with 3.2. (where Drag & Drop issues had been fixed) and it works fine, w/o calling the FixDragDropForButton method.
Please upgrade your nuget packages and try again.
Best regards
Frank
Hi Alex,
sorry for the late reply. We´ll be looking into improving the standard message box that is displayed,
but please keep in mind that you can always attach to the Application.ThreadException event and gather all details there.
Best regards
Frank
Quick update: This is being handled by private mail.
@all: Please send sales requests to sales AT wisej.com
Thanks,
Frank
At the time of the post we distributed Wisej with a windows msi installer. Now we don’t, we distribute a VS extension package (vsix). You can try to find the package in VS and register the dlls in the GAC using gacutil.exe and copy the templates if you need them. That is for the designer. Without the designer you can use wisej projects like any .NET project.
I am using wisej 3.2.2.
I have attached the file here.
Hi David,
what Wisej.NET version are you using? IIRC this was fixed in Wisej.NET 3.2
If it still fails, please attach a sample without the OBJ and BIN subdirectories.
Thanks in advance,
Frank
MOVED Follow up question to here ==>
Solve my issue, I forgot that the ClientProfile looks from the top down, so once I moved my device to the top, I needed to make sure the width’s matched between the Portrait and Landscape. Once I did this, it worked as expected when I change the screen orientation.
thank you!
Hi Soyer,
Do you mean duplicate the files ? Generally speaking you can simply do a copy/paste of the entire file, then rename them to whatever you want and you should be good to go! (Make sure to refactor the class names too).
Or, you can add any empty page or window, select everything and do a copy/paste into your new empty top level control.
HTH,
Alaa
Hi Christopher,
Did you add a mobile viewport to Default.html?
https://www.w3schools.com/css/css_rwd_viewport.asp
Additionally, you probably don’t need Application.Update(me) in that location. Application.Update is typically used for restoring a sessions context from a background thread.
We have a few old example applications on GitHub that might help you:
Responsive Applications:
https://github.com/iceteagroup/wisej-examples/tree/3.2/Responsive
Background Tasks (thread):
https://github.com/iceteagroup/wisej-examples/tree/3.2/BackgroundTasks
Let me know if you’re still having issues and we can take another look!
Best,
Levie
Hi Christian,
You have to download the vsix from https://wisej.com/builds/.
You can also force a configuration update to VS by opening a Developer Command Line instance and typing devenv.exe /updateConfiguration .
HTH,
Alaa
How is it possible to convert Devexpress winforms to web? How to proceed? Do you have any demo example for this?
Hi Ali,
With Wisej.NET, each browser tab is a separate session, and that’s by design.
You can use cookies or local storage to implement your own auto-login logic.
HTH,
Alaa
It’s not a Wisej.NET issue. It’s either standard ASP.NET or ASP.NET Core deployment. Follow all the steps in our deployment documentation or any Microsoft deployment tutorial. The 500 error indicates that you have selected the wrong .NET platform.
Hi Jun,
You can check the Task.IsCompleted property and implement it in a way that suits your needs.
Here’s a quick and simple example:
static async Task CheckTask() {
Task task = Task.Delay(5000); // Example background task
Console.WriteLine("Task started. Waiting for completion...");
while (!task.IsCompleted)
{
Console.WriteLine($"Task status: {task.Status}");
await Task.Delay(1000); // Wait for 1 second before checking again
}
Console.WriteLine(“Task completed.”);
}
HTH,
Alaa
Hi Nello,
Do you use a proxy ?
Do you have a long SessionTimeout value?
The issue can be due to several things, for example some antivirus apps block https requests that come in to fast, or throttle them, sometimes the quarantine the packet for a long time, sometimes they simply don’t route the traffic without even closing the connection. It happens with both http and websocket.
Sometimes, Session expires on the server or the server cannot restore the session.
You can try setting validateClient:false in Default.json.
Best,
Alaa