I am following the faq guide for setting up a search page on an ASP.NET site and had a question. How exactly am I supposed to paste the code provided into the search page that I am creating? Every way that I try it, I get an error message saying "In content pages, content is not allowed outside <script> or <asp:Content> regions." As I'm sure everyone can tell, I'm very new to programming, but I would appreciate any help on this. I'm using VB, and the code before I paste looks like this:
<%@ Page masterpagefile="master.master" language="VB" title="Search" %> <asp:Content id="Content1" runat="server" contentplaceholderid="ContentPlaceHolder1">
<h2>Search</h2>
<p><strong>Please use the following form to search the content of the site and locate specific information.</strong></p>
<p></p>
</asp:Content>
Thanks
<%@ Page masterpagefile="master.master" language="VB" title="Search" %> <asp:Content id="Content1" runat="server" contentplaceholderid="ContentPlaceHolder1">
<h2>Search</h2>
<p><strong>Please use the following form to search the content of the site and locate specific information.</strong></p>
<p></p>
</asp:Content>
Thanks
Comment