Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 5th, 2011, 04:37 PM
Registered User
 
Join Date: Aug 2011
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default debugging site problem

i'm in chapter 8: tried to add the web user control here is my code:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Banner.ascx.cs" Inherits="Controls_Banner" %>
<asp:Panel ID="VerticalPanel" runat="server">
<a href="http://p2p.wrox.com" target="_blank">
<asp:Image ID="Image1" runat="server" AlternateText="This is a sample banner"
ImageUrl="~/Images/Banner120x240.gif" />
</a>
</asp:Panel>
and just like the book i added the control to master page:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Frontend.master.cs" Inherits="MasterPages_Frontend" %>

<%@ Register src="~/Controls/Banner.ascx" tagname="Banner" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">....
</asp:DropDownList>
<br />
<br />
<br />
<uc1:Banner ID="Banner1" runat="server" />
</div>
<div id="Footer">Footer Goes Here</div>
</div>
</form>...
and here is the default page that i didn't change:


<%@ Page Title="Wellcome to Planet Wrox" Language="C#" MasterPageFile="~/MasterPages/Frontend.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpMainContent" Runat="Server">
<h1>
Hi there visitor and welcome to Planet Wrox</h1>
<p class="Introduction">
We're glad you're paying a visit to
<a href="MasterPages/http:/www.PlanetWrox.com">www.PlanetWrox.com</a>, the
coolest music community site on the Internet.</p>
<p class="Introduction">
Feel free to have a look around; there are lots of interesting <strong>reviews
and concert pictures</strong> to be found here.
</p>
<p>
&nbsp;You can <a href="Login.aspx">log in</a> here.</p>
</asp:Content>
my problem is that i cannot see the site in any browser, or i cannot debug,
please any solution





Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging The Beer House site Jyothi_23 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 7 March 25th, 2009 08:54 PM
problem in debugging chandanbhakuni .NET Framework 2.0 4 September 22nd, 2006 04:37 PM
problem debugging smart tag, please help Medes Visual Studio 2005 0 April 15th, 2006 03:09 PM
.Net Remote Debugging problem - Please help!! peterdoherty VS.NET 2002/2003 3 August 16th, 2004 07:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.