I am trying to do:
<input type="submit" runat="server" ... />
Error:
The base class includes the field 'btnEdit', but its type (System.Web.UI.HtmlControls.HtmlInputImage) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlInputSubmit).
Submit is a valid type, what is wrong here?
You are doing something else wrong, post more code. Appears that you are casting
btnEditasSystem.Web.UI.HtmlControls.HtmlInputImage.There is nothing wrong with doing this, it will post fine: