Wrox Programmer Forums
BOOK: Beginning Microsoft Visual Basic 2010
This is the forum to discuss the Wrox book Beginning Visual Basic 2010 by Thearon Willis, Bryan Newsome; ISBN: 9780470502228
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Basic 2010 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 October 10th, 2010, 06:13 PM
Authorized User
Join Date: Jun 2010
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 16 List.aspx does not work

When I try to display the webpage as in figure 17-14 I do not see the default page.

An error show in IE. The error is Internet Explorer cannot display the webpage.

This was with the local development server.

To get the default page working I went to the admin panel on my computer and added this as an application.

I noticed the build works fine.

When I tried in the IE the List.aspx page woild not work.

I would get an error using your sample code.

An error show in IE. The error is Internet Explorer cannot display the webpage.

Please advise. Larry


<%@ Page Language="VB" MasterPageFile="~/Site.master" CodeFile="List.aspx.vb" Inherits="List" %>

<%@ Register src="~/DynamicData/Content/GridViewPager.ascx" tagname="GridViewPager" tagprefix="asp" %>

<asp:Content ID="headContent" ContentPlaceHolderID="head" Runat="Server">

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:DynamicDataManager ID="DynamicDataManager1" runat="server" AutoLoadForeignKeys="true">
<asp:DataControlReference ControlID="GridView1" />

<h2 class="DDSubHeader"><%= table.DisplayName%></h2>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<div class="DD">
<asp:ValidationSummary ID="ValidationSummary1" runat="server" EnableClientScript="true"
HeaderText="List of validation errors" CssClass="DDValidator" />
<asp:DynamicValidator runat="server" ID="GridViewValidator" ControlToValidate="GridView1" Display="None" CssClass="DDValidator" />

<asp:QueryableFilterRepeater runat="server" ID="FilterRepeater">
<asp:Label runat="server" Text='<%# Eval("DisplayName") %>' OnPreRender="Label_PreRender" />
<asp:DynamicFilter runat="server" ID="DynamicFilter" OnFilterChanged="DynamicFilter_FilterChanged" /><br />
<br />

<asp:GridView ID="GridView1" runat="server" DataSourceID="GridDataSource" EnablePersistedSelection="true"
AllowPaging="True" AllowSorting="True" CssClass="DDGridView"
RowStyle-CssClass="td" HeaderStyle-CssClass="th" CellPadding="6">
<asp:DynamicHyperLink runat="server" Action="Edit" Text="Edit"
/>&nbsp;<asp:LinkButton runat="server" CommandName="Delete" Text="Delete"
OnClientClick='return confirm("Are you sure you want to delete this item?");'
/>&nbsp;<asp:DynamicHyperLink runat="server" Text="Details" />

<PagerStyle CssClass="DDFooter"/>
<asp:GridViewPager runat="server" />
There are currently no items in this table.

<asp:LinqDataSource ID="GridDataSource" runat="server" EnableDelete="true" />

<asp:QueryExtender TargetControlID="GridDataSource" ID="GridQueryExtender" runat="server">
<asp:DynamicFilterExpression ControlID="FilterRepeater" />

<br />

<div class="DDBottomHyperLink">
<asp:DynamicHyperLink ID="InsertHyperLink" runat="server" Action="Insert"><img runat="server" src="~/DynamicData/Content/Images/plus.gif" alt="Insert new item" />Insert new item</asp:DynamicHyperLink>


Last edited by lstew452; October 11th, 2010 at 08:18 PM.. Reason: Adding detail of error
Old November 1st, 2010, 01:10 AM
Wrox Author
Join Date: Mar 2006
Posts: 91
Thanks: 0
Thanked 5 Times in 5 Posts


First question is can you get a a blank asp.net website to work. If you open a new asp.net project and just click run does that start the dev web server and open in IE? Bryan
Old December 17th, 2014, 01:52 AM
Registered User
Join Date: Dec 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


Very first issue will be can you get a some sort of write off or net. online site to figure. In the event you start the latest or net. online task and simply click manage does of which begin the particular dev web server as well as start inside WEB BROWSER?

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to get Chapter 4 To do list 2 to work abhi BOOK: Professional Android 2 Application Development 2 June 2nd, 2010 09:38 PM
Used-to-work aspx page now not working tanakrita ASP.NET 1.0 and 1.1 Basics 1 October 22nd, 2009 01:28 PM
Javascript isnt work well on my aspx page msbsam ASP.NET 2.0 Professional 1 July 11th, 2008 08:00 AM
Chapter 16 Fig 16-11 krsouthern BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 1 July 8th, 2008 12:11 PM
Ch 16 Try It Out doesn' t work + Fixes VictorVictor BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 December 12th, 2007 10:04 AM

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