Activities of "WilliamT"

i just found out i can call the following in PostContribute context.ServiceProvider.GetRequiredService and just call the function i want. would that be an ok approach ?

thanks,

seems like adding the code only to Index.cshtml.cs under Pages folder seem to be applied for all subfolder as well.

Do I need to apply that to all pages?

yep, got it working now.

and how do I make the app redirect to login if the user isn't logged in?

i am using the TopMenu Layout but still the same.

as for sharing a simple project hopefully i can send it later in the evening.

not sure if this helps for now, but it looks like the abp script itself doesnt include or handle abp-date-picker as well.

ok, now i have it under /libs/bootstra-datepicker

but adding <abp-date-picker> still does nothing.

    "version": "1.0.0",
    "name": "my-app",
    "private": true,
    "dependencies": {
        "@abp/bootstrap-datepicker": "^8.1.1",
        "@eonasdan/tempus-dominus": "^6.9.4",
        "@jspreadsheet/formula-pro": "^1.3.6",
        "@jspreadsheet/importer": "^1.0.3",
        "@jspreadsheet/parser": "^2.3.1",
        "@jspreadsheet/render": "^1.7.2",
        "@popperjs/core": "^2.11.6",
        "@types/node": "^18.11.9",
        "@volo/abp.aspnetcore.mvc.ui.theme.lepton": "~6.0.1",
        "@volo/account": "~6.0.1",
        "@volo/audit-logging": "~6.0.1",
        "@volo/file-management": "~6.0.1",
        "@volo/identity": "~6.0.1",
        "@volo/saas": "~6.0.1",
        "bootstrap-treeview": "^1.2.0",
        "bootstrap4-toggle": "^3.6.1",
        "html2canvas": "1.4.1",
        "jspreadsheet": "^8.0.25",
        "jstree": "^3.3.7",
        "jsuites": "^4.9.27",
        "jszip": "3.6.0",
        "lemonadejs": "^2.1.1",
        "mustache": "^4.2.0",
        "papaparse": "5.4.1",
        "xlsx": "https://cdn.sheetjs.com/xlsx-0.19.2/xlsx-0.19.2.tgz"
    }
}```

Hi,

is that for version 6 as well ? I cannot find bootstrap-datepicker under my /libs/abp folder

or can you guide me on how to install it under abp?

Hi,

yes i did check that beforehand, i ran "gulp" as well afterwards, but how do i include it inside my project ?

Actually, I did use this method but there is an unwanted hover effect and a button like behaviour.

I did check the script that generates the action buttons and seems like the button wrapper is hardcoded. However, you did mention it will be added on the next update so all good.

Showing 1 to 10 of 41 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13