O'Reilly logo

ASP.NET Core: Cloud-ready, Enterprise Web Application Development by James Singleton, Valerio De Sanctis, Mugilan T. S. Ragupathi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Splitting the ItemDetail component

Our application is going just fine, yet there are still some oddities that we should address as soon as we can. One of the most critical ones is that our ItemDetail component is acting like an editor way more than a viewer. Ideally, when the user clicks on an item, they should be presented with a view showing the item data in the display-only mode, with labels and text paragraphs instead of textboxes and text areas.

To better understand it, let's take a look at the following screenshot:

Splitting the ItemDetail component

Source: Wikipedia

That's precisely what we're missing right now (and also the result we want to achieve). In order to do that, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required