Loading is done by the browser and the client. The AspNetWrapper is an iframe with a url to your server.
Sample attached – pulled the Wisej.Framework.dll and xml out of bin folder to reduce the size.
Tried this on a couple machines and code projects and they all react the same.
Seems to be a bug with setting or changing a grid datasource. The grid will do the first column and then flip the properties dialog to that first column, sets the AutoGenerateColumns = False and stops generating the rest of the columns.
I have discovered that if I close the form and reopen it the grid columns generate as they should if the AutoGenerateColumns is reset to True on the offending grid.
I can work with this now that i’m aware of it.
Thanks for the fast response!
Hi Warren
Thanks for reporting the issue.
¿could be possible that you provide us a sample to reproduce the issue?
Ideally the data source is in the same project
Regards
Paul
Hi,
now I got another exception with listView1.Items[0].SubItems.Clear();
I have an another question. Is it posible to show Checkbox on each row in ListView (in details mode) without creating column header for column checkbox?
Thank for your help,
Page
Additionally, getting client details using javascript is impossible since all browsers don’t let it and there is no javascript api for that. Wisej makes the information sent by the browser in headers as Levie pointed out.
Hello Levie,
Thanks for confirmation! It answers my question
Michael
Hi Michael,
If i’m understanding your question, the previous behavior was incorrect.
The correct behavior is to show MessageBox modally if onclose is not defined. If onclose is defined, the program continues normally until the MessageBox is closed, returning to the callback for execution.
It wouldn’t make much sense to provide a callback and also show the MessageBox modally.
Please let me know if you have any questions or want to provide a sample!
Best regards,
Levie
Hi Sean,
Thanks for reporting the issue. It looks like there are a few issues that occur with the focus when the window isn’t active. I’ve logged the issue as #2301. We’ll let you know when a fix is available!
Best,
Levie
Hi Page,
this was logged as #2280 and is fixed in Wisej 2.1.75
Best regards
Frank
Hi Angelo,
issue #2288 is fixed in Wisej release 2.1.75
Best regards
Frank
Hi Page,
#2293 is included in Wisej 2.1.75
Best regards
Frank
Hi Markus,
#2292 and #2294 are fixed in Wisej 2.1.75
Best regards
Frank
Hi Kenneth,
issue with UserComboBox was logged as #2295 and a fix is included in the latest Wisej release (2.1.75).
Best regards
Frank
Hi Florian,
issue #2296 is fixed in Wisej release 2.1.75
Best regards
Frank
Hi Page
#2297 is fixed in our latest Wisej release (2.1.75)
Best regards
Frank
No, I never solved the problem of the null result. I can invoke the WebMethod but not get its return result value.
Other than that, it’s completely integrated into Xamarin. I previously offered to open the source for my Xamarin shell, but now it looks like you guys want to do Android studio and make it cost extra????
–Andrew
— event handler for Xamarin
protected override bool OnBackButtonPressed()
{
MessagingCenter.Send<object>(this, “GoBack”);
return true;
}
— custom renderer event for Android
protected override void OnElementChanged(ElementChangedEventArgs<HybridWebView> e)
{
base.OnElementChanged(e);
if (Control == null)
{
var webView = new Android.Webkit.WebView(mContext);
webView.Settings.JavaScriptEnabled = true;
webView.SetWebViewClient(new JavascriptWebViewClient($”javascript: {JavascriptFunction}”));
SetNativeControl(webView);
MessagingCenter.Subscribe<object>(this, “GoBack”, (sender) => {
webView.EvaluateJavascript(“App.HitFormBackButtonIfPossible(function(result) { });”, new BackButtonAttemptCallback()); //handle the back button behavior we want in WiseJ.
});
BackButtonAttemptCallBack.cs
class BackButtonAttemptCallback : Java.Lang.Object, IValueCallback
{
/// <summary>
/// Here we are trying to get a callback from a WiseJ WebMethod, but its not working. result is always null.
/// https://wisej.com/support/question/forcing-form-toolbutton-click-with-javascript#sabai-entity-content-9216
/// </summary>
/// <param name=”result”></param>
public void OnReceiveValue(Java.Lang.Object result)
{
if (result.ToString() == “False”)
{
JavaSystem.Exit(0); //exit on 2nd backbutton attempt
}
}
}
Hi Florian,
Thanks for reporting the issue, you’re right, it’s a regression. I’ve logged the bug as #2296 and we’ll let you know when a fix is available!
Best regards,
Levie
Hi Page,
Thanks for reporting the issue, I’ve logged it as #2297, We’ll let you know when a fix is available!
Best regards,
Levie
Hi Ruben,
What’s the error you’re getting?
Hi Ruben,
You can use a Page for this.
Let me know if it works for you!
Best regards,
Levie
