User770171000 posted
Using: Visual Web Developer 2008 Express Edition .. C#
I have the dynamic web site working fine... A database, LINQ to SQL, changed the global.asax and all that. So it displays my tables and everything works fine. I have tried to follow along the video series to customize the way my gridviews
look.
So, I copied /DynamicData/PageTemplates/List.aspx into a brand new folder /DynamicData/CustomPages/<table name>/List.aspx ... The only problem is that, unlike the video series, the page breaks with all kinds of "already contains a definition
of" errors ... In other words, the copy itself brings over all the inheritences and code-behinds from the original List.aspx. First line of the "custom page":
<%@
Page
Language="C#"
MasterPageFile="~/Site.master"
CodeBehind="List.aspx.cs"
Inherits="AMSv0._2.List" %>
matches the first line of the original List.aspx page:
<%
@
Page
Language="C#"
MasterPageFile="~/Site.master"
CodeBehind="List.aspx.cs"
Inherits="AMSv0._2.List" %>
Which doesn't seem to make sense to me, since at the very least, it should have the .CustomPages.<table name>.List .... right? In the video series, Scott just merily cruises past the point and I am stuck in the water with
broken page inheritences.
Anyone have any idea what I can do to remedy this? Below is a screenshot of the solution explorer so you can see what I'm talking about:

Here's a screenshot of the errors I'm getting:
