Ends in:
7 DAYS
21 HRS
9 MIN
28 SEC
Ends in:
7 D
21 H
9 M
28 S

Activities of "nabass"

hi sir i have a small problem using InitialSelect2 function when i try the code without red rectangle scope it works good save the record correctly and when i repute the scope it gives me the shape which exactly i want (green rectangle) but save button will stop why ?? no errors on log no exception no nothing just click on save nothing happen if i remove the red scope it works good i don't know where is the error

  • ABP Framework version: v8.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
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

Question

hi sir if i want to write some text or bind a property from C# code how can i get this part of page where can i find this code ??

  • ABP Framework version: v8
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
Question

Good Morning hope you are well i have a question about handling business exception when i enter the page index it gives me an error (image below) despite i tried it the same code same steps same functionality into create popup it works good so does framework support this type of exception when i open the index or just work within create or edit?

  • ABP Framework version: v8
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
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:"]

Question

hi sir i noticed that localization just work within <abp> tags i tried to put it into <h5> tag but it doesn't work

  • ABP Framework version: v8
  • UI Type: MVC
  • Database System: EF Core (SQL Server)

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

Showing 101 to 110 of 158 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06