S
Simon
Guys,
I have a WebForm with a DataGrid on it, that includes the default "Delete" button.
If this button's typer is set to "LinkButton", and is clicked, then it calls ItemClick (as you'd expect.)
If it's set to "PushButton" and is clicked, it posts to the server but otherwise does nothing (including calling ItemClick.) This holds true for all the buttons, and a TemplateColumn with a PushButton and LinkButton in the ItemTemplate. I can't find why, although I do have other webforms that exhibit the correct behaviour.
Any suggestions?
Simon.
I have a WebForm with a DataGrid on it, that includes the default "Delete" button.
If this button's typer is set to "LinkButton", and is clicked, then it calls ItemClick (as you'd expect.)
If it's set to "PushButton" and is clicked, it posts to the server but otherwise does nothing (including calling ItemClick.) This holds true for all the buttons, and a TemplateColumn with a PushButton and LinkButton in the ItemTemplate. I can't find why, although I do have other webforms that exhibit the correct behaviour.
Any suggestions?
Simon.