View Single Post
  #1 (permalink)  
Old April 14th, 2009, 05:42 PM
JP37421 JP37421 is offline
Registered User
Join Date: Apr 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 5 - ShowMenu

If you leave all of the code in the aspx page, the ShowMenu page works great. However, if I move the vb code out of the aspx page and put it in the code behind page, I get this error. Type DataRowView is not defined on this line: <asp:Repeater ID="Repeater1" runat="server" DataSource='<%# CType(Container.DataItem, DataRowView).CreateChildView("MenuLink") %>'>.