Could you send an example of showLoader please, I can not run showLoader How I want when I publish the project

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0
As you can call a JavaScript function, to be able to call the showLoader, in the published project it appears when you want!!! please help me!!!
  • You must to post comments
0
0

From the release notes

http://setup.wisej.com/releases/notes/Wisej%20Release%20Notes-1.4.80.htm

I saw the new feature called pooling.

WJ-8809 New Feature Support automatic polling to emulate push updates without WebSocket.

Perhaps this might help you to update your client, when no WebSockets are available.

  • You must to post comments
0
0
I can show the showLoader from javaScript but how to stop it from code c #.
  • You must to post comments
0
0
this is the scenario:
1) a user select a file with an upload component
2) the user clic a button (here is when we need to show the loader)
3) In the Click evento of the button, the server validate several things with that XML (not being used before, is valid, etc)
4a) If the XML is not valid for some reason, the loader should be hidded and a Message popup telling the user that
4b) If the XML is valid, the loader is hidded and some other elements get updates base on the XML content
private void btnValidarFactura_Click(object sender, EventArgs e)
{
//i have tried both of these and only work the way i want to, if i run the  project step by step
this.btnValidarFactura.Call(“showLoader”);
this.btnValidarFactura.ShowLoader = true;
Application.Update(this.btnValidarFactura);
 if (UploadedFileName != null)
{
if((bool)validateXML(DestinationFile))
{
//fill content from other components
this.btnValidarFactura.Call(“hideLoader”);
this.btnValidarFactura.ShowLoader = false;
}
else
{
this.btnValidarFactura.Call(“hideLoader”);
this.btnValidarFactura.ShowLoader = false;
MessageBox.Show(“The XML used is not valid.”);
}
}
else
{
this.btnValidarFactura.Call(“hideLoader”);
this.btnValidarFactura.ShowLoader = false;
  upArchivoXML.AppearanceKey = “uploadRequired”;
MessageBox.Show(“Please select an XML”);
}
  • You must to post comments
0
0

WebcSocket is not used

  • You must to post comments
0
0

Hi Edgar,

is your server running on WebSocket ?
Did those hints not help you yet ? http://wisej.com/support/question/showing-a-loading-spinner#sabai-entity-content-5403

Best regards
Frank

  • You must to post comments
0
0

Hi Frank

The code I'm using to get a showLoader displayed on a button is this one.
Not all the buttons work as you like, sometimes it appears sometimes does not appear.

this.Button.call("showLoader");
Application.Update(this);

Thanks
  • You must to post comments
0
0

Hi Edgar,

can you please describe what you want to achieve with the ShowLoader ?
Maybe a code snippet will help us to better understand your requirements.

Thanks in advance.

Best regards
Frank

  • You must to post comments
Showing 7 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json mixin.theme