I want to refresh data on a Blazor page when data in the collection changes. Do you have any advice / recommendations?
Currently I use a timer but periodically get the exception below - it occurs when one of the clients disconnects.
System.ObjectDisposedException HResult=0x80131622 Message=Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it (or one of its parent scopes) has already been disposed.
I'm considering implementing an INotifyCollectionChanged / Observable Collection: https://blazor.syncfusion.com/documentation/common/data-binding/data-updates But I'm not sure of the correct approach.
Any advice would be appreciated.
The following message if given when running Blazor projects:
I note the following answer on Github: https://github.com/abpframework/abp/discussions/14486
How can this message be suppressed for Abp Projects with an ABP Commercial license?
I have created a new Blazor Server project using ABP Suite [v7.2.1]
Then using ABP Suite added the Chat Module
The project runs all ok up until this point.
Next, as per documentation, added Chat to the Edition features
Now when running this message is given:
Please advise how to resolve this. Thank you.
I have 2 questions:
It is good that now the project logo-dark and logo-light images a now accessible - but why not the login-bg image?
I would prefer not to create an entire page \Themes\LeptonX\Layouts\Account\Default.razor to just change the image.
If not, can I have the full source of the account login page
Where is this exposed so it can be customized?
Thanks
I need the AppUser as navigation property on an Entity. This is not available in ABP Suite.
As a work around I create AppUserId as a string property:
I'd like to know if there is a recommended approach for adding Users to an Entity.
Maybe a new User entity that references the App user entity?
My goal is to be able to create then entity using ABP suite without then need for further modification.
Do you have any suggestions? Thanks, Roger
I have a high-level menu item that gives a list of items. Selecting an item goes into another razor page to display details.
The details page is not an item on the side bar menu.
My problem is that the initial menu item remains the "Selected" menu item and now menu item doesn't get the page again as it is already the selected item.
Question: How can I programmatically change the side bar menu so that no menu items are "Selected"?
Please advise how to size Toolbar buttons. In the new LeptonX UI they are large and take up too much space. The Action button in the grid is a better size.
` protected virtual ValueTask SetToolbarItemsAsync() { Toolbar.AddButton(L["ExportToExcel"], async () =>{ await DownloadAsExcelAsync(); }, IconName.Download);
Toolbar.AddButton(L["NewAnalysisAccountCode"], async () =>
{
await OpenCreateAnalysisAccountCodeModalAsync();
}, IconName.Add, requiredPolicyName: ConcretePermissions.AnalysisAccountCodes.Create);
return ValueTask.CompletedTask;
}`