Activities of "nabass"

I want to handle permission of SalesOrderAppService which handle the transaction screen, and if user allow only SalesOrder.Create in permission how i enable second service "SalesOrderLookupAppService" automatically from code.

Answer

hi sir i found it but i got a small problem i tried to bind some prop as i mentioned before (img 1) but i got error (img 2) so i used a model (img 3) but it is not working

Answer

i solved it thanks tag must be like this: without (/) <h5>@L["OpeningYearPeriod"].Value</h5>

thanks for efforts

Answer

hi Anjali,, it will not take the value into localization it will take the value within the tag it means that if i change the localization of this item no effect will happen

Answer

it's a company project i cant send it even if they allowed me because the size of it you can try any open project on your PC put <h5> or any tag not starts with <abp> it will not work <p> tag <a> tag <h1> tag ..... etc

Answer

no thing shows same as i don't put a tag and if i put it into tag itself the output will be:====> ["Opening Year / Period:"]

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 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

Answer

hi sir same error, i don't know what is this or what can i do to solve this is the first time to happen

Answer

hi your last command gives me this

Showing 101 to 110 of 136 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 12, 2025, 10:36
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.