Do FormViews not respond to commands issued from an ImageButton?
- by Duke
I am using ImageButtons in place of LinkButtons in a FormView to issue New/Edit/Delete/Cancel commands, but they don't seem to have an effect on the FormView.
The ImageButtons will cause a postback but the FormView mode doesn't change from the current mode.
I'm sure the ImageButtons were working at one point, but I've been busy with other pages for a while. The only thing that's changed between now and then are some patches I installed in Visual Studio.
I haven't been able to find any information related to this issue other than this: http://www.codeproject.com/KB/webforms/TamingTheFormView.aspx In that article there's an onclick method for an ImageButton that's used to change the FormView mode.
Would that be the only way to use ImageButtons instead of LinkButtons in a FormView?