When i compile the code in visual studio from my web server it's a copy of a perviously working web site i get this error message:
Description: An
error occurred during the compilation of a resource required to service
this request. Please review the following specific error details and
modify your source code appropriately.
Compiler Error Message: CS0117: 'ASP._masterpage_master' does not contain a definition for 'TopMenuRepeater_ItemCommand'
Source Error
<ul> <asp:Repeater ID="TopMenuRepeater" runat="server" DataSourceID="SiteMapDataSource" onitemcommand="TopMenuRepeater_ItemCommand"> <ItemTemplate> <li> <asp:HyperLink runat="server" ID="MenuLink" NavigateUrl='<%# Eval("Url") %>'><span><%# Eval("Title") %></span></asp:HyperLink></li> </ItemTemplate> </asp:Repeater> <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource> </ul>
|
this is a menu bar attribute that gets information from the first level of the sitemap file and displays it as a dynamic menu
i'm not sure what this means, i need to define the topMenuRepeater_item command where would i put this definition what would it look like.
all the data sources are defined within the DB master and should link to the correct sql source i have looked at an sql book and it seams to all be in order
i can just write code that will do the menu's job but i want to make this way work can you help
chris