Hi as anyone had any luck using the metronic quicksearch plugin with the asp.net zero angular application because I can't get it working completely because I not sure how to query the application service using the service proxies.
Here is my template code:
header.component.html
<li class="m-nav__item m-dropdown m-dropdown--large m-dropdown--arrow m-dropdown--align-center m-dropdown--mobile-full-width m-dropdown--skin-light m-list-search m-list-search--skin-light" data-dropdown-toggle="click" data-dropdown-persistent="true" id="m_quicksearch" data-search-type="dropdown">
<a href="#" class="m-nav__link m-dropdown__toggle">
<span class="m-nav__link-icon">
<i class="flaticon-search-1"></i>
</span>
</a>
<div class="m-dropdown__wrapper">
<span class="m-dropdown__arrow m-dropdown__arrow--center"></span>
<div class="m-dropdown__inner ">
<div class="m-dropdown__header">
<form class="m-list-search__form">
<div class="m-list-search__form-wrapper">
<span class="m-list-search__form-input-wrapper">
<input id="m_quicksearch_input" autocomplete="off" type="text" name="q" class="m-list-search__form-input" value="" placeholder="Search..."></span>
<span class="m-list-search__form-icon-close" id="m_quicksearch_close">
<i class="la la-remove"></i>
</span>
</div>
</form>
</div>
<div class="m-dropdown__body">
<div class="m-dropdown__scrollable m-scrollable" data-max-height="300" data-mobile-max-height="200">
<div class="m-dropdown__content"></div>
</div>
</div>
</div>
</div>
</li>
Well yes the following code works if two users are editing the same entity:
protected override void ApplyAbpConceptsForModifiedEntity(EntityEntry entry, long? userId, EntityChangeReport changeReport)
{
if (entry.Entity is MyRowVersionEntity)
{
entry.OriginalValues["RowVersion"] = entry.CurrentValues["RowVersion"];
}
base.ApplyAbpConceptsForModifiedEntity(entry, userId, changeReport);
}
Hi there is it possible to change the default template in the folder ViewEntityComponentHtmlTemplate to allow properties to be in 2 columns instead of the 1 column approach?
Code:
<div bsModal #createOrEditModal="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="createOrEditModal" aria-hidden="true" [config]="{backdrop: 'static'}">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">
<span>{{l("{{Entity_Name_Here}}")}}</span>
</h4>
<button type="button" class="close" (click)="close()" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-lg-12">
<div class="m-stack m-stack--hor m-stack--general m-stack--demo">
<div class="row">
<div class="col-lg-6">
{{Property_Looped_Template_Here}}
{{NP_Looped_Template_Here}}
</div>
<div class="col-lg-6">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button [disabled]="saving" type="button" class="btn btn-primary blue" (click)="close()">{{l("Close")}}</button>
</div>
</div>
</div>
</div>
Here is the directory to the file in question: project\src\ProjectName.EntityFrameworkCore\EntityFrameworkCore\HomeDeliveryDbContext.cs
ApplyAbpConceptsForDeletedEntity code is the same as above
@ismcagdas Nope can you let me know any useful changes that may help.
Hi there I'm getting a warning message after AppAuthorizationProvider gets modified:
-> AppAuthorizationProvider.cs is being modified. Warning : File not found => ..\src\MyProject.Core\EntityHistory\EntityHistoryHelper.cs
When I'm creating an entity using the rad tool. Does anyone have a fix for this as this file and entity history folder doesn't exist in my project?
@aaron yes it's similar I'm trying to apply the solution of:
protected override void ApplyAbpConceptsForModifiedEntity(EntityEntry entry, long? userId, EntityChangeReport changeReport)
{
if (entry.Entity is MyRowVersionEntity)
{
entry.OriginalValues["RowVersion"] = entry.CurrentValues["RowVersion"];
}
base.ApplyAbpConceptsForModifiedEntity(entry, userId, changeReport);
}
To
protected override void ApplyAbpConceptsForDeletedEntity(EntityEntry entry, long? userId, EntityChangeReport changeReport)
{
base.ApplyAbpConceptsForDeletedEntity(entry, userId, changeReport);
}