order details.ascx.cs OrderNote orderNote = OrderManager.InsertOrderNote(this.OrderID, note, cbDisplayToCustomer.Checked, DateTime.Now); gives error 'This member is defined more than once'
tried a fresh install, no sign of warning, cleaned and rebuilt solution, no sign of warning, but as soon as i started to edit order details.ascx (nothing to do with the above tags) the warning appeared - once it does appear, the insert order note stops functioning
Let's make it clear. It is not the bug. The 1-st cbDisplayToCustomer it is a nopCommerce:ImageCheckBox control indicating whether the order note will be displayed to customer. The 2-nd cbDisplayToCustomer - asp:CheckBox and you can select it while creating new order note to display it to the customer. There is no conflicts because the 1-st cbDisplayToCustomer belong to to a asp:GridView ItemTemplate and 2-nd to the ContentTemplate of TabPanel.
ok, so the ID's are not an issue, i wasn't sure but it was flagged which is why i posted it :)
i was adding a delivery note button and an onclick event, so i had to recompile the page. i got build errors. i've rolled back the changes completely and recompiled but i still get 'build errors' message the problems are flagged as in the image below:
http://img694.imageshack.us/img694/8272/nop1.png
strange thing is, to avoid the errors and let my new function compile, i changed the id, built the project - my delivery note function worked ( so my code seemed ok) - of course, because i changed the id, Display to Customer didn't :(