I think I might be able to change the code to do a elm.getTree().ensureVisible(elm)
Hi Glenn,
Thanks for reporting! This issue should be fixed in the next development build coming out in the next couple of days!
If you still have problems after the next release please let me know!
Best,
Levie
Hi Luca,
work perfectly!
It would be very nice to have this “initialized” event from c#!
Thank you!
Hi Andrew,
You should try changing the ViewerType property to “Mozilla” and see if this works for you (it works well on my mobile device). There is a problem with scrolling in the native PDF viewer in Safari.
I’ll take a look into the issue keep you posted on any updates to it!
I hope this helps.
Best,
Levie
No plans for now. It’s on the wish list. The DataRepeater will come first and several other improvements. But we also offer custom integrations and development…
Wisej works with any authentication supported by IIS and ASPNET. You’ll find the logged in user here:
You can load javascript using the <script> tag in your Default.html, or:
Use the widget’s Packages collection, or:
Use any third party javascript loader, or:
User Wisej built-in loader:
/**
* load
*
* Loads the specified set of urls as a package identified by the unique id.
* The package is loaded only once and cached.
*
* @param urls {Array|String} url or urls to be loaded in sequence.
* @param callback(state) {Function} called when all the resources are fully loaded or if an error occurs.
* the argument state can be: "complete", "cached", "error".
*/
Wisej.load = Wisej.load || function (urls, callback)
I know ArcGIS but we don’t have a ready made sample. Using it with Wisej is the same as using it with plain HTML. You can also use the Wisej.Web.Widget and use the inner “this.container” element as the container:
var view = new MapView({ container: this.container, map: map, center: [-118.71511,34.09042], zoom: 11 });
Use the Packages property to load the required javascript.
I’ll see if we can put together a quick sample for you.
Option 1:
Use the “initialized”event already fired by the extension. In your JavaScript.js add:
this.addListener("initialized", function (e) {
this.fireWidgetEvent("initialized");
});
In MapPage.cs add:
this.googleMap1.WidgetEvent += GoogleMap1_WidgetEvent;
private void GoogleMap1_WidgetEvent(object sender, WidgetEventArgs e) {
if (e.Type == "initialized") {
this.button1.PerformClick();
}
}
Option 2 (used also in the extension startup.js code):
Change the JavaScript.js code to reschedule the call if the map is not ready:
this.addTestCircles = function () {
if (!this.map) {
this.addListenerOnce("initialized", function(e) {
this.addTestCircles();
});
return;
}
....
}
This way you don’t have to handle the “initialized” event on the server. The client will simply call the method again when “initialized” is fired.
The “styles” sections of the theme are converted to css as they are used during the application execution. There is no single css that corresponds to the theme.
The “properties” section is assigned to widget properties which in turn may or may not use css styles to represent whatever it is that the property means. If the link widget is already created, you can look into the DOM (F12 – Chrome) and see the name of the class created by the theme manager. It’s usually “qx-{appearance}-[{component}]-{state}”.
Otherwise you can:
HTH
Hi Andrew,
it could be that you also have to increase the KeepAliveIntervall.
You can change it in default.json, too:
Snippet
"keepAliveInterval"
Background:
When you are in Debug mode on server you block the other incoming requests, each request is handled by an own thread.
When the client sends the keepAliveEvent and the server does not respond, because you block the execution pipeline, the client will show up this network is down dialog.
It’s my idea of how this works, hope this is correct :).
Best,
Jens
Hi Andrew,
which version do you use?
With Wisej 2.0.13 it looks like in attached image.
Best,
Jens
Hi Johann,
Does the receiving server have a php, Node.js, or another backend script to receive the file through a POST request?
If you want to use FTP this might be helpful: https://www.aspsnippets.com/Articles/Uploading-Files-to-FTP-Server-programmatically-in-ASPNet-using-C-and-VBNet.aspx
If you are trying to write to the server that the Wisej app is hosted on you can use something like:
using (System.IO.StreamWriter w = new System.IO.StreamWriter(AppDomain.CurrentDomain.BaseDirectory + "\\text.txt", true)) { w.WriteLine("Hello World"); // Write the text }
Looking up this kind of thing might be helpful: https://stackoverflow.com/questions/51141428/write-to-a-file-c-sharp-asp-net-on-button-click
You can also use this.evalAsync(); to receive the results of your JavaScript code in C#.
Please let me know if you have any more questions!
I hope these help.
Best,
Levie
Nice, was just wondering this myself.
Is there a way to retrieve the width value, or set it at runtime? In my case it only needs to be wider on mobile devices.
And is there a way to disable a horizontal scrollbar on a Listview? If the width overflows, both appear.
Appreciate the screenshots you make Levie. Keep up the good work
Andrew
Hello Frank,
no this is a misunderstanding, I have in my case no form involved, but I have a string on the c# side which shold arrive in a javascript function as parameter.
The call of this function should take place on the c# side.
After editing the string in the javascript function, the string should go back to c# with a function call from within a javascript function as paramter for the c# function.
I tried already the example in the docu, but could not get it running.
Regards
Johann
Hi Johann,
maybe the sample posted here helps:
https://wisej.com/support/question/using-html-forms
If not please provide more detail or sample code.
Thanks in advance.
Best regards
Frank
Hi Johann,
one of our customers is using mxgraph:
https://jgraph.github.io/mxgraph/
Here is their Workflow editor sample. It´s quite a complex and powerful widget:
https://jgraph.github.io/mxgraph/javascript/examples/editors/workfloweditor.html
Best regards
Frank
Hi Roni,
You can modify all of the scrollbars in the Theme in ThemeBuilder under Scrollbar > properties > width. Scrollbar-y component of Table Scroller inherits from scrollbar.
This would allow you to make all scrollbars bigger for tablets.
I hope this helps,
Let me know if you have any more questions!
Best,
Levie
Hi Tim,
I was not able to reproduce this problem in our latest internal build. Is there any chance you could wrap up a sample?
Let me know!
Best,
Levie
Hi Tim,
I think the best place would be our public github repositories
https://github.com/iceteagroup/wisej-examples
or
https://github.com/iceteagroup/wisej-extensions
Best regards
Frank
PS: You can also send code to me directly (frankATiceteagroup.com) and I will prepare and upload it to GitHub.
