All Answers

0 votes
In reply to: iis error

I found solution at thislink thanks for every things

 

https://mvolo.com/low-pagefile-can-cause-503-service-unavailable-on-azure-web-roles/

  • HSoft answered Jan 4, 2020 - 2:54 pm
0 votes
In reply to: DateTimePicker bug

Hi Ulisses,

The issue has been fixed and will be available in the next build.  I’ve also attached the theme file you can use as a fix in your project (add it to the themes folder).  The theme is also available at: https://github.com/iceteagroup/wisej-themes

Best,

Levie

 

  • Levie (ITG) answered Jan 2, 2020 - 6:37 pm
  • last active Jan 2, 2020 - 6:41 pm
0 votes
In reply to: Seasion Timeout

Probably not. AnyCPU is allowing your app to load a x86 assembly. If you force x64 then you will get a loading error when the x86 assembly is getting loaded. You need to check the references in your project. Check sqlite, json serialization, any nuget package you may be loading, etc. Wisej doesn’t need nor load any x86 code. It’s AnyCPU.

Check also if you are using the the Brotli extension. That one uses two native assemblies from google: brolib_x64 and brolib_x86.

  • Luca answered Jan 2, 2020 - 6:06 pm
0 votes
In reply to: Seasion Timeout

I set any cpu on my project , when I set x64 and puplish as x64 , Will my problem be solved?

Thanks

  • HSoft answered Jan 2, 2020 - 6:01 pm
0 votes
In reply to: DateTimePicker bug

Hi Ulisses,

Thanks for reporting the issue.  I’ve logged it as issue #2108.

Best,

Levie

0 votes

ShowSampleData is a design-time only property not used at runtime. It’s basically a “fake” property. The generation of the resx file is entirely managed by Visual Studio.

  • Luca answered Dec 31, 2019 - 4:28 pm
0 votes
In reply to: Seasion Timeout

You may have the IIS idle timeout terminating the app pool.

 

https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-85/idle-worker-process-page-out-in-iis85

 

Set the timeout to 0.

  • Luca answered Dec 31, 2019 - 4:26 pm
0 votes
In reply to: iis error

Hi HSoft,

I would recommend using this blog post, https://blogs.msdn.microsoft.com/parvez/2016/08/06/iis-application-pool-crash-and-debug-diag/ or https://support.microsoft.com/en-us/help/919789/how-to-use-the-debug-diagnostics-tool-to-troubleshoot-an-iis-process-t, as a starting point to capture more information related to the error.

Do you have any other information that could be useful to debug the issue?

Let me know!

Best,

Levie

  • Levie (ITG) answered Dec 30, 2019 - 8:48 pm
  • last active Dec 30, 2019 - 8:54 pm
0 votes

You can’a add a row directly to a DataGridView that is bound to a data source. The index of the rows would get out of sync. It’s the same in Winforms. In your original message you wrote that you added a dynamic row. I think you can still use the SortCompare event to control the sorting order. Otherwise please attach a small runnable sample app.

  • Luca answered Dec 30, 2019 - 5:55 pm
0 votes

Hi Luca,

I tried the provided Example in mycode but getting below error. Please help me on this.

 

0 votes

Hi Masafumi,

this issue has been logged as #2105.
A fix will be included in the next Wisej build.

We´ll inform you when it´s available.

Best regards
Frank

0 votes

Unfortunately there is a bug preventing Wisej from identifying the Program module (or something changed in .NET). Wisej checks if the class is static (or a module) checking IsSealed and IsAbstract. But VB.NET returns only IsSealed. It will be fixed in the next build. You can however add a method to Window1 and call it using the instance App.Window1.Method(). Or you can add it to the main page and call it using: App.MainPage.Method().

  • Luca answered Dec 27, 2019 - 5:58 pm
0 votes

You can also make the summary row sort to the bottom by handling the SortCompare event. If you add a custom DataGridRow class you can check the type, or you can add a Tag value and check that. Otherwise use our DataGridViewSummaryRows extension. See attached sample.

To add a summary row on all columns use:

 for (var i = 0; i < grid.ColumnCount; i++)
 {
    grid.AddSummaryRows(SummaryType.Sum, SummaryRowPosition.Below, null, null, grid.Columns[i], style);
 }

The extension handles different summary types, grouping, nesting, etc.

To make the summary row sort to the bottom use:

 private void dataGridView1_SortCompare(object sender, DataGridViewSortCompareEventArgs e)
 {
    var grid = (DataGridView)sender;
    var order = grid.SortOrder == SortOrder.Descending ? -1 : 1;
    if (grid.Rows[e.RowIndex1] is DataGridViewSummaryRow)
    {
       e.Handled = true;
       e.SortResult = order;
    }
    if (grid.Rows[e.RowIndex2] is DataGridViewSummaryRow)
    {
       e.Handled = true;
       e.SortResult = -order;
    }
 }

 

HTH

  • Luca answered Dec 27, 2019 - 5:39 pm
0 votes

Hi Sushma Konda

 

I would add another datagridview with one only row under your grid for the totals.

 

Greetings!!.

0 votes
In reply to: Problem Deploying

Hi

 

I have finally deployed succesfully, there were two things, access permission to the folder on Inetpub,  and the “Default.html” was on the bin folder, not in the root of the site folder.

 

Thank you!!

0 votes
In reply to: Mockups App Samples

Hi Hitesh,

Thanks for the suggestion. We are always looking to make the platform easier to adapt and it’s helpful to know what you’re looking for!

We’re working on some case studies, but demo applications could be very useful as well!

Thanks for the advice.

Best regards,

Levie

0 votes
In reply to: Problem Deploying

Hi GoldenFoods,

I would recommend trying to follow this guide: https://www.modernizing-applications.de/ihre-informationen/developer-blog/posts/2018/november/deploying-a-wisej-application/

It might be helpful to start with a clean slate on IIS and go step-by-step.

Can you provide any more details or error messages?

Best regards,

Levie

0 votes

Hi Takao,

Yes it is!

Set up your JavaScript like this (Note: if you put a function getData() { } declaration in the initScript it will run as soon as the app launches, that’s why we use this.getData):

this.getData = function() {

       return true | false;

}

 

On the C# side:

private async void button5_Click(object sender, EventArgs e)

{

        var result = await this.widget1.CallAsync("this.getData");

        AlertBox.Show(result.ToString());

}

 

You can also add the [WebMethod] attribute to any function in C# and call that from JavaScript!  Web methods are exposed automatically on top-level controls (Desktop, Page, Form) and in the main application static class (Program).

For Example:

JavaScript Side:

this.hello = function() {

        App.HelloWorld();
}

 

C# Side:

[WebMethod]

public void HelloWorld() {

        AlertBox.Show("Hello, World!");
}

 

Check out these documents for more information and detail:

https://wisej.com/docs/2.0/html/JavaScript.htm

https://wisej.com/docs/2.1/html/JavaScriptObjectModel.htm

https://wisej.com/docs/2.0/html/T_Wisej_Web_Widget.htm (Call / Eval)

https://wisej.com/support/question/how-can-i-send-a-message-from-javascript-to-c

 

Best,

Levie

  • Levie (ITG) answered Dec 20, 2019 - 9:55 pm
  • last active Dec 27, 2019 - 5:08 am
0 votes
In reply to: Bubble value bug

Hi HSoft,

I see the issue with 2.0, we’ll get it fixed for the next release! until then you can download the updated version from GitHub:

https://github.com/iceteagroup/wisej-extensions/tree/2.0/Wisej.Web.Ext.Bubbles

Once downloaded, move the mixin theme BubbleNotifications.mixin.theme from \Platform to \Themes.  Recompile it and it should work!

Let me know if you have any issues with it.

Best,

Levie

0 votes
In reply to: Bubble value bug

Hi HSoft,

Any chance for a small test case?  Couldn’t replicate with the latest version of 2.1.

What version of Wisej are you using?

Best,

Levie

Showing 5281 - 5300 of 11k results