Posted on: 11/3/2013 11:13:40 AM | Views : 731

Hi all
I have a really stupid question. I have been coding in MVC for the last couple of years and now I am working on a WebForms project and I am struggling with something really simple.
I have some dynamically created buttons which have an OnClientClick and OnClick event. (The idea being that the user clicks a confirmation box before the serverside method is called.
The problem I am having is that it says it DeleteImage method is not defined.
Any help would be greatly appreciated.
The aspx page has this ...
<div id="VehicleImageDiv" runat="server"></div> With that div being populated here...

VehicleImageDiv.InnerHtml = VehicleImageDiv.InnerHtml + "<div class='AdImgDiv'>"; while (mr.Read()) { VehicleImageDiv.InnerHtml = VehicleImageDiv.InnerHtml + "<div class='AdminImageDiv'>" + "<a rel= ...

Go to the complete details ...