Activities of "Merna"

Hello , ABP Framework version: v5.1 UI type: MVC

hello , Here is the languages we use in our application .

Steps : 1-Use Ar languages 2- select date then search **(Before Submitting)

**(After Submitting) years only in dates is return in hijri but wrongly cause now we are in 1443 not 1422

Hello , I have tried to add input hidden in my application to add this solution but still return hijri in ar culture .

Hello , Here is my code ,

   <input hidden
                type="text"
                class="form-control"
                name="testHijriInput"
                value="@DateTime.Now.AddMonths(-1).Date.ToString(CultureInfo.CurrentUICulture.DateTimeFormat.ShortDatePattern)" />

I have used CultureInfo.CurrentUICulture .

hello , still hijri date appears

if (CultureInfo.CurrentUICulture.TwoLetterISOLanguageName == "ar") {

        &lt;input  hidden
               type=&quot;text&quot;
               class=&quot;form-control&quot;
               name=&quot;testHijriInput&quot;
               value=&quot;@DateTime.Now.AddMonths(-1).Date.ToString(&quot;MM/dd/yyyy&quot;)&quot; /&gt;
    }
    else
    {
        &lt;input hidden
            type=&quot;text&quot;
            class=&quot;form-control&quot;
            name=&quot;testHijriInput&quot;
            value=&quot;@DateTime.Now.AddMonths(-1).Date.ToString(CultureInfo.CurrentUICulture.DateTimeFormat.ShortDatePattern)&quot; /&gt;
         
    }

Hello , I tried to enforce the culture to use en-US and date is Gregorian in arabic .

Using : <input hidden type="text" class="form-control" name="testHijriInput1" value="@DateTime.Now.AddMonths(-1).Date.ToString(new CultureInfo("en-US"))" />

so ,is there a way to be more generic to configure it once in the whole application?

Hello , I tried these configurations ,but unfortunately it doesn't work either.

Answer

Hello , I did used Update action in tenant repository but still identity cant cache the new status till at least an hours passes. so is there any other action I should call to trigger this event or is there a way to remove caching for tenants manually? cause I want an instant response from identity but it doesn't work as it should be.

Answer

Hello maliming, I've separated applications in my project ,so I've tried distributed cache and it works fine for me . please let know if you've a better idea about it.

Hello , sorry for late response. I have created a new project using abp version 5.1 and create a small demo for this issue , https://jawda-my.sharepoint.com/:v:/g/personal/merna_jawda_net/EZrt105-FLpAhhg5rNKxW8gBgy0H1-oKd4RlVX9OfhImzQ?e=KFxQTK

so my problem here is very simple : I want to prevent the created user with username (merna2) from requesting any page(log him out) once the admin deactivate or delete the account. so is there anyway to apply it.

Showing 1 to 10 of 19 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 November 11, 2025, 06:29
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.