Chapter 5. Working with Data in the View

In this chapter, we will cover:

  • Reintroducing for and foreach
  • Handling an array of checkboxes
  • Handling an array of radio buttons
  • Working with a pageable set of data
  • How to navigate sortable data
  • Delete a record with an intermediary "Are you sure?" page
  • Add a jQuery delete link with confirmation
  • Creating a master/detail page with inline details via jQuery
  • Adding a master/detail page with modal details window using JSON

Introduction

In this chapter, we are going to look at all sorts of different recipes that pertain to playing with data in the view. We will try to cover as many of the standard day-to-day topics, which every ASP.NET developer might need to know. This will take us through a bunch of quick recipes that demonstrate simple concepts, such as iterating through a collection to more complex scenarios like how to handle the creation of master/detail pages with Ajax modal pop-ups.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset