Monday, March 26, 2012

Simple Button question

Hi all,

Is there anyway of preventing an ASP button from posting
back to server.

I've got a button with the CommandName set, but it is
still being created as a submit button in the HTML output
and still submitting the page.

EldonDo not create the button as <asp:button> instead create it as <input>.

Regards,
Alex
"Eldopn Ferran de Pol" <anonymous@.discussions.microsoft.com> wrote in
message news:004501c3c3f0$f6ee3700$a301280a@.phx.gbl...
> Hi all,
> Is there anyway of preventing an ASP button from posting
> back to server.
> I've got a button with the CommandName set, but it is
> still being created as a submit button in the HTML output
> and still submitting the page.
> Eldon

0 comments:

Post a Comment