Quote:
Originally Posted by deasoft
Atlas - anyone have success using Atlas (ASP.NET AJAX) with The-Beer-House code?
I tried to add Atlas (ASP.NET AJAX) but I got lots of compile errors and finally gave up.
|
I did.
I had some errors at first but then I referred back to Imal's book,
Beginning Asp.net 3.5, and saw that I needed to add a ContentTemplate to the page I wanted to use it on that used a gridview and search box.
In case anyone wants to know:
On my new aspx page that I added for a search of my products using a gridview control to display the results, I put it near the top as so:
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate> //(I had to add this to make it work)
Searching: <asp:Label ID="Label1" runat="server" Text="Label" ></asp:Label>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="SqlDataSource1" CellPadding="4" ForeColor="#333333"
GridLines="None">
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
....
Then in Master.Template, I put the script manager right below the first form id as so:
<
form id="Main" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
Now I'm trying to figure out how to use auto complete on my text box control. I know how to use it on a text box control alone, but not yet when a grid is added to the mix.
Rachel