Below is a some sample code I am trying to update. The client would like to make the menu item text an AppSetting Value. I have been able to setup the appsettings and the function to implement it. But I am getting an error on my Bind code and wondering if anyone see something I missed.
Is it as easy as setting an ID tag for the MenuItem? When I try to use ID it is not reconizable by visual studio in the intellisense.
Error -> The MenuItem control with a two-way databinding to field OUEntity must have an ID.
<asp:MenuItem PopOutImageUrl="" Text="Administration" Selectable="false">
<asp:MenuItem NavigateUrl="" Text="" ></asp:MenuItem>
<asp:MenuItem NavigateUrl="" Text="" ></asp:MenuItem>
<asp:MenuItem NavigateUrl="" Text=""></asp:MenuItem>
<asp:MenuItem NavigateUrl="" Text='<%# Bind("OUEntity") %>'></asp:MenuItem>
<asp:MenuItem NavigateUrl="" Text="" ></asp:MenuItem>
<asp:MenuItem NavigateUrl="" Text="" ></asp:MenuItem>
<asp:MenuItem NavigateUrl="" Text="" ></asp:MenuItem>
<asp:MenuItem NavigateUrl="" Text="" ></asp:MenuItem>
<asp:MenuItem NavigateUrl="" Text="" ></asp:MenuItem>
<asp:MenuItem NavigateUrl="" Text="" ></asp:MenuItem>
</asp:MenuItem>