i solved it thank you if any one faced the same problem here is the solution -- make like CreateModel page syntax example: into class (Index.cs) public abstract class IndexModelBase : AbpPageModel { [BindProperty] public JournalVoucheraIndexViewModel JV { get; set; } public List<SelectListItem> CurrencyIdFilterMin { get; set; } = new List<SelectListItem> { new SelectListItem("-",null) }; private readonly ICurrencyAppService _currencyAppService; public IndexModelBase(ICurrencyAppService currencyAppService) { _currencyAppService = currencyAppService; }
public virtual async Task OnGetAsync()
{
CurrencyIdFilterMin.AddRange((
await _currencyAppService.GetCurrencyLookupAsync(new LookupRequestDto
{
MaxResultCount = LimitedResultRequestDto.MaxMaxResultCount
})).Items.Select(t => new SelectListItem(t.DisplayName, t.Id.ToString())).ToList()
);
public class JournalVoucheraIndexViewModel : JournalVoucherDto
{
}
}
====================== into (index.cshtml) <abp-select asp-for="JV.CurrencyId" asp-items="Model.CurrencyIdFilterMin" label="@L["MinCurrencyId"].Value" />
hi sir i faced a problem with making a select into advanced filter i made a page using suite by default it creates an index page with advance filter i want some of field no to be just input no i want it select option here is my steps and the final result
hi sir i solved the problem it was in the Http controller in [HttpGet] method i was send {id} wrong way thanks for efforts and you can close the Q thanks
hi sir, hope u r well i faced a problem with creating a master detail page master record inserted well but when i try to open a detail page i got an (error 400) despite of ID is correct ,, i attached a video to explain my problem
https://streamable.com/f06ahb
hi sir, hope u r will if i have 2 table and i want to make a master detail page thanks to abp framework it make it easy BUT what if the (master) page is normal page and (detail) page is composite key like image below how can i make it ???? how can i make it normally if abp doesn't support it ???
here is Nuget.Config is there a line should i add to solve error ??