Displaying a Datagrid with filter controls

In this recipe we will replace the simple Datalist control with a more powerful Datagrid control and add a collapsible panel with filters. This is a useful combination of data entry controls that allows the searching and displaying of module records.

Getting ready

To follow along with this recipe you must have completed the following recipes:

  • Creating collapsible panels
  • Populating a drop-down list from a DNN list
  • Populating a drop-down list from a stored procedure

How to do it...

  1. Launch the Development Tool and load the Employee project.
  2. Expand the References folder and make sure DotNetNuke.WebControls is shown.
  3. Double-click to open the ViewEmployee.ascx file.
  4. At the top of the file, add the code to register the ...

Get DotNetNuke 5.4 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.