If I set Masterdetailmode = ListAndDetailView in the model and run the WinForms application I get a split view with a ListView on the left and the corresponding DetailView on the right. This also works nested which is great and gives a great deal of flexibility when dealing with master/detail relationships or complex objects. However, it doesn't seem to work in the web application.
-----------------
How do I implement MasterDetailMode = ListAndDetailView in ListView in ASP.NET WebForms and Blazor?
Answers approved by DevExpress Support
ASP.NET Core Blazor Server
v22.2+
XAF's ASP.NET Core Blazor Server v22.2 supports MasterDetailMode = ListViewAndDetailView out of the box: Display a Detail View with a List View.
You can emulate this behavior as shown in the MasterDetailModeBlazor.zip project. Research the following solution files:
- MasterDetailMode.Module\Module.cs (see the MasterDetailModeModule constructor);
- MasterDetailMode.Module.Blazor\Controllers\AS11078.cs
- MasterDetailMode.Module.Blazor\Model.DesignedDiffs.xafml
This is not a complete solution, and you will have to further test and modify it according to your business needs.
ASP.NET WebForms
v18.2+
XAF's ASP.NET Web Forms v18.2 supports MasterDetailMode = ListViewAndDetailView. For more information, see Web - Split View layout support (MasterDetailMode = ListAndDetailView).
You can consider the following solutions:
1. Use the DashboardView class functionality to emulate this mode on the Web. This will require creating two DashboardViewItems for ListView and DetailView, as well as a Controller that will manage the ListView selection and update the DetailView accordingly. You can use the How to implement dependent views in a DashboardView (filter based on selection) example for more inspiration.
Attached is also a small sample (dxSampleAS11078.zip and MasterDetailMode_Blazor.zip) for your reference. This is not a complete solution, and you will have to further test and modify it according to your business needs.
2. Consider implementing a solution from one of our customers posted in the SplitLayout for Web Application ticket. An advanced version of this solution is integrated into the eXpand Framework.
3. Set the ListView model's AllowEdit property to True and the InlineEditMode property to EditForm or EditFormAndDisplayRow.
4. Implement a custom List Editor and provide the necessary functionality in it.
Hello.
This feature is really needed for a migration project from XAF Web Forms to Blazor. Do you have any idea about when will be included in Blazor?
Ivan
@Ivan Argudo:
Do you have any idea about when will be included in Blazor?
We hope to support MasterDetailMode = ListViewAndDetailView in 2022, but I cannot give you exact time frames. Have you checked our temporary solution from MasterDetailModeBlazor.zip above?
I am happy to inform you that XAF Blazor now allows showing an editing DetailView near a ListView (Split View Layout). Set the Views | ListView | MasterDetailMode property to ListViewAndDetailView in the Model Editor to enable this feature.
See a list of all new features on the following page: What's New in v22.2 - XAF.
You may find a temporary solution posted in the SplitLayout for Web Application ticket helpful. It is also integrated into the eXpand Framework.
Hope this feature could be supported in v13.1 !
I wish to see this as well together with a bit more modern web UI using jquery and ajax. It's 2013, current Web interface is a bit arhaic in XAF. It would be time to redesign it and offer a modern layout.
I also think it would be great to have this functionality supported on next XAF versions.
Is this functionality is supported in version 13.8 or 13.2?
Hello,
Though I understand that this is a high priority functionality for you, I cannot currently provide you with estimation dates on this feature. We refrain from announcing any specific feature for any product in R&D prior to its release. This is our position for many reasons, including the fact that by promising X or Y, developers end up planning their development schedules around our promised feature set, which can change quite dynamically. We keep this feature on our radar, but it is still premature to discuss when it may be available.
Just to clarify, how many vote points does a feature need to have for you to push it at the top?, is there any place where we can see the most voted?
It would be nice to see the top voted features, so we had an idea of what the community wanted. However, you have to figure that it could be used by their competition to try and steal clients away, if they implemented some of those highly sought after features. Although, I've never bothered looking at the competition since I can't imagine anyone having better customer service, and I'm already quite invested in DX.
XAF has zero alternatives, so I don't see much competition around stealing ideas.
On the other hand, maybe that's exactly what they need - a bit of a competition. Maybe then they'd be rushed to clear more of those 7 years old tickets ;)
@Pablo: There is no fixed number and everything depends on various factors, including user votes. I am afraid we do not provide a list of most voted features in one place.