The standard button is set its autopostback property to be true, am I right
?
How can I change it to be false ?
I tried this...
<td><asp:Button id="cmd1" ... autopostback="false"/></td>
But it failed. Why?
ThxThat's what you get when you use a server-side control - when it's clicked
it will post back to the server. If you don't want a postback then simply
use a <input type=button>.
-Brock
DevelopMentor
http://staff.develop.com/ballen
> The standard button is set its autopostback property to be true, am I
> right
> ?
> How can I change it to be false ?
> I tried this...
> <td><asp:Button id="cmd1" ... autopostback="false"/></td>
> But it failed. Why?
> Thx
>
Thursday, March 29, 2012
Set Button : autopostback to be false
Labels:
asp,
autopostback,
button,
false,
lttdgtltaspbutton,
net,
property,
righthow,
standard
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment