Base solution for your next web application

Activities of "[email protected]"

If this can help ... I tried to download a brand new demo project of ASP.NET Zero 5.2 (MVC Core + JQuery) and just running it. I was able to reproduce the same bug and the only thing I changed was the connection string. Clicked on "Administration" -> Organization Units, selected an existing OU, clicked on "Add Member", clicked "Save" on the popup without selecting any user. Result: all the users of the page added to the OU !

Thanks, David

We are having a strange problem using ASP.NET Zero version 5.1 (MVC Core+JQuery, framework .NET Standard). When we try to add a member to an existing organizational unit from the popup, the checked users are not detected by the "Add User" JS handler and all the users are passed to the service. It's strange because we didn't change this specific part of your code. I tried an older version of ASP.NET Zero (4.6) and the same code works just fine; the only difference I have spotted is the Datables.js library.

Here are more details: (in _AddMemberModal.js): _modalManager.getModal().find('#btnAddUsersToOrganization').click(function () { _modalManager.setResult(dataTable.rows({ selected: true }).data().toArray()); _modalManager.close(); });

(in OrganizationUnitAppService): [AbpAuthorize(AppPermissions.Pages_Administration_OrganizationUnits_ManageMembers)] public async Task AddUsersToOrganizationUnit(UsersToOrganizationUnitInput input) { foreach (var userId in input.UserIds) { await UserManager.AddToOrganizationUnitAsync(userId, input.OrganizationUnitId); } }

If I run the code with ASP.NET Zero 5.1 the "selected: true" filter of the dataTable.Rows collection is not working; I always get the whole collection in the UsersToOrganizationUnitInput object on the server side. If I don't check any user, I always get the full list of user ids shown on the grid page.

If I run it with ASP.NET Zero 4.6 the "selected: true" filter of the dataTable.Rows collection is working OK; I get the actual list of selected items on the server side; if I don't check any user, I get an empty list as expected.

This is very strange and I already spent some time trying to figure it.

Can you please help ?

Thanks, David

We are experiencing the same problem. Version 5.0.4, MVC Core + JQuery. The expanded menu is working fine, the collapsed one is not working (i.e. nothing happen when you click on the nav link).

David

now that I added the github username, I can access the sample repositories.

Thanks for your help, David

We have purchased a license of ASP.NET Zero. I am trying to download the sample PhoneBook application from <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-samples">https://github.com/aspnetzero/aspnet-zero-samples</a> but I cannot find it.

Can you please give me an updated link for the sample repository ?

Thanks, David

Showing 1 to 5 of 5 entries