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

Activities of "Bernard"

Question

HI,

is possible to get Id of new recorded entity in call back ? ` _personsService.createOrEdit( person ).done(function () { abp.notify.info(app.localize('SavedSuccessfully')); abp.event.trigger('app.createOrEditPersonModalSaved');

 if (typeof (successCallback) === 'function') {
     successCallback();
 }

}).always(function () { abp.ui.clearBusy(); });`

Question

Hi,

is it possible to create permissions for an entity with doesn't exist in database ? For example i have an entity Persons with child Controller Named Contact and like to create permissions for contacts with own controller and views

Hi, thanks it works fine

Hi I have value from line

var file = await _binaryObjectManager.GetOrNullAsync(picture);

but in console can display image message like below

Question

Hi,

I follow the same method as displaying a user's photo but my code does not work, it's been several days and many tries, do you have an idea of ​​the origin of the issue ?

in view ` @if (Model.Person.PictureId !=null) { <img src="@Url.Action("GetPersonPictureByIdInternal", "Persons", new { area = string.Empty})?pictureId=@(Model.Person.PictureId)" width="128" height="128" class="img-thumbnail img-rounded user-edit-dialog-profile-image" />

} else { <img src="@Url.Content($"{ApplicationPath}Common/Images/default-profile-picture.png")" width="128" height="128" class="img-thumbnail img-rounded user-edit-dialog-profile-image" /> }`

In personsappservices

` public async Task

 var file = await _binaryObjectManager.GetOrNullAsync(picture);

 return new GetProfilePictureOutput(Convert.ToBase64String(file.Bytes));
  

} `

Thks for help

Answer

Hi

Thks

Question

Hi,

Could you tell me please how you're saving image profile in aspnet zero ?

And in file link or byte in database Thks

Question

Hi,

Do you have an example in your application of a view with a non-modal partial view inside ?

I think I must delete some lines with a partial view like BreadcrumbItem

Thks

Hi Thks

Question

Hi,

Metronic 8 is delivred with Formrepeater js components

https://preview.keenthemes.com/html/metronic/docs/forms/formrepeater/basic

I'm not able to make the component work with aspnet zero

Any idea or sample

Thks very much

Showing 31 to 40 of 136 entries