Once this is complete and the DLL
representing the control library is built, you can add the controls in the DLL into the Toolbox via the
Visual Studio Tools menu??™s Customize Toolbox dialog box, as shown in Figure 13-2.
Figure 13-2. The Customize Toolbox dialog box
The end result of adding the new controls is a Toolbox tab like the one shown in Figure 13-3.
Figure 13-3. Toolbox icons for the Live Search controls library
CHAPTER 13 ?– P ACKAGI NG AND DEPLOYMENT 671
In the next section, we put all the Live Search controls to work in a couple of demonstration
web forms.
Testing the Live Search Controls
The default look and feel of the Live Search controls displays if you drag and drop the controls
onto a web form. Both the Search and Result controls require little configuration effort to provide
a pleasing display in the Visual Studio Control Designer, as shown in Figure 13-4.
Figure 13-4. The stock Search and Result controls in the Visual Studio Control Designer
The Default Look and Feel
The same default look and feel shown at design time is generated in the browser. Figure 13-5
shows the initial page with just the Search control rendering its output. Type in a search query,
and you can see the results in Figure 13-6.
Pages:
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858