Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "BobIngham"

@josejunior, an invite to join the team was sent to your email address. I have just resent it.

@marble68 - it's an Ionic app and therefore not native. The port is not difficult but time-consuming and fiddly in places for abp, there's no great magic involved. The abcframework seems to be an attempt to link angular to cordova. That's exactly what the Ionic app does.

Answer

@Mitch, They key to the multi-select component is to have two arrays, one for available items and one for selected items, the latter of which forms part of your form group. I know you're JQuery but hopefully the following Angular code should help:

            <kendo-multiselect 
                [data]="availableOrganizationUnits"
                textField="displayName"
                valueField="id"
                [(ngModel)]="selectedOrganisationUnits"
                (valueChange)="onOrganizationUnitChange($event)"
                style="margin-left:2rem;vertical-align:middle;display:inline-block;">
            </kendo-multiselect>



public availableOrganizationUnits = new Array<OrganizationUnitDto>();
public selectedOrganisationUnits: Array<OrganizationUnitDto>;
public selectedOrganisationUnitIdsAsString: string;


get data....
      .subscribe((result) => {
        if (result.organizationUnits.length > 0) {
          this.availableOrganizationUnits = result.organizationUnits;

  ...
  
onOrganizationUnitChange(organisationUnits: Array<OrganizationUnitDto>): void {
    this.selectedOrganisationUnitIdsAsString = _.map(organisationUnits, 'id').toString();
    this.getDataAndSetChartData(moment(this.range.start), moment(this.range.end), false);
}
  

@ismcagdas, interesting. I will take your advice and refactor.

@ismcagdas, I have DTO's defined in Core.Shared to support SignalR implementation in Web.Core. Thus, when I want to send an alert to all online devices I need access to a DeviceAlertInput object but I also need access to they same DTO in my Application project to fire the alert from the angular project in the first place. Surely there are some instances when DTO's need to be placed in the Core.Shared when they are shared between Application and Web.Core?

@kwanp - if you need two database contexts (which is what I think you're asking) you can follow the instructions here: how to use multiple databases in aspnet zero Hope that helps.

HI Jose, I have invited you to the group. Feedback would be most appreciated. Bob

@virghy - an invite to the team has been sent to your email address. This is tehy first time we have created a public repo so don't expect anything too professional but your feedback would be very welcome.

@virghy - my Azure guys are back on Monday. I'll ask them how best to give you access to this repository. I will definitely need your email, preferable one which already exists in Azure AD (i.e. an Office account?).

Answer

@musa - thanks. I don't want to change the source so I'll run with what we have and put a request into github for the backlog.

Showing 51 to 60 of 619 entries