Yes, you can use WinMerge for upgrading. The new version is announced on GitHub and social media accounts when it is released. Wait for the announcement.
There is a callback and return selected id.
Here is an example
_ProductcategoryLookupTableModal.open(
{id: product.categoryId, displayName: product.categoryDisplayProperty},
function (data) {
_$productInformationForm.find('input[name=categoryDisplayProperty]').val(data.displayName);
// data.id is selected category's id
_$productInformationForm.find('input[name=categoryId]').val(data.id);
},
);
Hi @Bernard,
We currently do not have any content about cascade dropdowns. But you can look at this blog post or others to implement cascade dropdowns. You may need to do some customization for use with lookup tables. I hope it helps.
https://dotnettutorials.net/lesson/cascading-dropdown-list-in-asp-net-core-mvc/
Hi @Bernard,
We have completed our work on the Datatable 2.0 update. You can reach the updated version of Datatable when version 13.2.0 is released by updating it.
I don't think this error is related to that. Can you run yarn create-bundles
? Does the error happen on a specific page or all the datatable pages?
Hi @kworkme,
I reproduced the problem. I created an issue for it. You can follow the progress https://github.com/aspnetzero/aspnet-zero-core/issues/5183
Hi @kworkme,
GetProjectForView
method exists within the ProjectsAppService
?Hi @Bernard,
Sorry for the late reply to the issue. This problem should have been solved with the new power tools version. Could you regenerate your entity?
Hi @kworkme,
Regenerate entities by removing translation dto's from navigation properties. They automatically have relations between them.
Hi @Bernard,
It looks like the entity file's navigation property field is not correct. Could you update DisplayNameInfos
manually similar to following json
"DisplayPropertyNameInfos": {
"MergeFormat": "{0}",
"DisplayPropertyNames": [
"CName"
]
}
"NavigationProperties": [
{
"Namespace": "ERUDY.Administratif",
"ForeignEntityName": "Convention",
"ForeignEntityNamePlural": "Conventions",
"IdType": "int",
"IsNullable": true,
"PropertyName": "ConventionId",
"DuplicationNumber": 0,
"RelationType": "single",
"ViewType": "LookupTable",
"DisplayPropertyNameInfos": {
"MergeFormat": null,
"DisplayPropertyNames": []
}
}
],
Hi @rheem,
I didn't quite understand the remaining questions. If you want you can manage your localization text from UI. https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Features-Mvc-Core-Language-Management