- Home
- Products
- Integration
- Tutorial
- Barcode FAQ
- Purchase
- Company
Part 8: Incorporating Advanced Content in Visual C#.NET
28 Paint QR Code ISO/IEC18004 In Visual C#.NET Using Barcode generator for VS .NET Control to generate, create QR Code image in VS .NET applications. www.OnBarcode.comScan QR Code ISO/IEC18004 In Visual C#.NET Using Barcode decoder for Visual Studio .NET Control to read, scan read, scan image in VS .NET applications. www.OnBarcode.com 214835 Search Returns Results From Wrong Web Insider Extra #7, Scripting Web Searches, which you can install from the companion CD, also contains information about configuring indexing service catalogs. Bar Code Generation In Visual C#.NET Using Barcode creator for .NET Control to generate, create barcode image in .NET framework applications. www.OnBarcode.comBar Code Decoder In C#.NET Using Barcode recognizer for .NET Control to read, scan read, scan image in .NET framework applications. www.OnBarcode.com742 Encode QR Code JIS X 0510 In Visual Studio .NET Using Barcode generation for ASP.NET Control to generate, create QR Code image in ASP.NET applications. www.OnBarcode.comQR Code Printer In .NET Framework Using Barcode generation for VS .NET Control to generate, create QR Code 2d barcode image in Visual Studio .NET applications. www.OnBarcode.comPart 8: Incorporating Advanced Content
QR Generator In Visual Basic .NET Using Barcode maker for .NET framework Control to generate, create QR-Code image in VS .NET applications. www.OnBarcode.comEncoding EAN / UCC - 13 In Visual C# Using Barcode creator for .NET framework Control to generate, create GS1-128 image in Visual Studio .NET applications. www.OnBarcode.comProviding a Text Search Capability
Code 39 Maker In Visual C#.NET Using Barcode creation for VS .NET Control to generate, create Code 3 of 9 image in Visual Studio .NET applications. www.OnBarcode.comPDF 417 Generator In Visual C# Using Barcode generation for .NET framework Control to generate, create PDF 417 image in Visual Studio .NET applications. www.OnBarcode.comUsing The Full-Text Search Component
Drawing Barcode In Visual C#.NET Using Barcode encoder for .NET Control to generate, create barcode image in .NET applications. www.OnBarcode.comISSN Maker In Visual C#.NET Using Barcode generation for Visual Studio .NET Control to generate, create ISSN - 10 image in Visual Studio .NET applications. www.OnBarcode.comIf your Web site runs on Windows SharePoint Services, the Web Search component that the previous section described will be of little use. If you try adding a Web Search component to such a site, you ll receive an error message. If your site is a SharePoint Team Site, this may be no great loss. The home page and many other standard pages already contain search boxes, and visitors can just use those. If you want to add the same capability to a page you create yourself, proceed as follows. Barcode Encoder In Visual Basic .NET Using Barcode maker for .NET framework Control to generate, create bar code image in Visual Studio .NET applications. www.OnBarcode.comPrint ANSI/AIM Code 128 In None Using Barcode printer for Excel Control to generate, create Code128 image in Excel applications. www.OnBarcode.com1 Open the page that should provide a search capability. 2 Set the insertion point where you want the search form to appear. Don t choose a Drawing UCC - 12 In VS .NET Using Barcode drawer for Reporting Service Control to generate, create EAN / UCC - 13 image in Reporting Service applications. www.OnBarcode.comCreating EAN128 In None Using Barcode creation for Font Control to generate, create EAN / UCC - 14 image in Font applications. www.OnBarcode.comlocation inside any other form, or inside a Web Part Zone.
Recognize Code 3 Of 9 In Visual Basic .NET Using Barcode reader for VS .NET Control to read, scan read, scan image in VS .NET applications. www.OnBarcode.comCode 128 Maker In None Using Barcode printer for Online Control to generate, create Code 128 Code Set B image in Online applications. www.OnBarcode.com3 Choose Web component from the Insert menu, or from the Standard toolbar. This
Scan DataMatrix In C# Using Barcode recognizer for Visual Studio .NET Control to read, scan read, scan image in VS .NET applications. www.OnBarcode.comBar Code Creation In Objective-C Using Barcode printer for iPhone Control to generate, create bar code image in iPhone applications. www.OnBarcode.comdisplays the Insert Web Component dialog box.
4 In the Component Type list box at the left, choose Web Search. 5 In the Choose A Type Of Search list box at the right, choose Full-Text Search. 6 Click Finish. This creates a simple search form like the one Figure 28-6 shows inside the centered box. The page banner, the Enter Search Term prompt, and the centered box, were all present before inserting the Full-Text Search form. Figure 28-6. Use the full-text search component to create a search form that works on a Windows SharePoint Services site. Part 8: Incorporating Advanced Content
28
Microsoft Office FrontPage 2003 Inside Out The form itself is neither a FrontPage component nor a Web Part. It s an ordinary HTML form that submits the contents of the text box to a SharePoint search program. The arrow button is a standard HTML picture button. In terms of function, the full-text search form works exactly like any other search form you find on a Windows SharePoint Services site. Searching the Web with MSN
The Search The Web With MSN component displays an HTML form that your visitors can use to search the World Wide Web for a given string. A page that contains this component appears in Figure 28-7. Part 8: Incorporating Advanced Content
28
Figure 28-7. The Search The Web With MSN component in the center of this Web page submits search terms to the public MSN search engine. The border around the search form is actually a one-cell table added later. Entering search terms and clicking the Search button submits a request to the MSN search engine, at http://search.msn.com. Figure 28-8 shows some typical results. Here s the procedure for adding this component to a page in your Web site: 1 Set the insertion point where you want the component to appear. 2 Choose Web Component from the Insert menu. This displays the Insert Web Component dialog box.
Providing a Text Search Capability
3 Select MSN Components from the Component Type list on the left, and select Search
The Web With MSN from the Choose A MSN Component list on the right. Click Finish.
Figure 28-8. Submitting a request using the form shown in Figure 28-7 produced these results.
Unlike most other Web components, Search The Web With MSN doesn t have a persistent identity or a custom dialog box for configuration. Instead, the result of inserting this compo@ nent is some ordinary HTML that appears in your Web page. Right-clicking this area doesn t offer a Search The Web With MSN Properties choice, for example. Instead, it offers a Form Properties choice that directly configures the properties of the HTML form. For more information about HTML forms, refer to 34, Creating and Using Forms.
Two details of the MSN Search form are critical. As long as you preserve these details, you can modify the MSN Search form as much as you like: Submitting the form sends a request to the location http://search.msn.com/results.asp, as shown in the Action box of the Options For Custom Form Handler dialog box in Figure 28-9. This is the location of the MSN search engine. The Name property of the text box for entering the search terms must be q. This is the
form field name that identifies the list of search terms to the MSN search engine.
Part 8: Incorporating Advanced Content
28
Microsoft Office FrontPage 2003 Inside Out
Figure 28-9. The Search The Web With MSN component doesn t have its own Properties dialog box. To configure it, just modify its HTML form properties. If you want, click Options to display the Options For Custom Form Handler dialog box. One drawback of using this component is that it sends visitors away from your Web site. One minute a visitor is happily browsing your Web site; the next minute, the visitor discovers the MSN Search form; and the minute after that, your visitor is browsing some other site. One way of reducing this effect is to make the MSN search results appear in a new window instead of yours. Here s the procedure:
|
|