Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional Validation
Message
 
To
16/04/2004 12:07:19
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00895521
Message ID:
00895609
Views:
19
You might need to use regular HTML buttons (i.e. INPUT type="button" value="Buttonx" ) for this rather than ASP.NET buttons.

Again, please keep in mind that I have not done this personally and I wouldn't like to send you on the wrong path. Hopefully somebody else will chime in...



>Hi Hector,
>
>Know how to find out how to do this? :-) When I try to implement the button's client side "OnClick" event, E.g.
>
<asp:button id="btnSubmit" OnClick="javascript:btnOnClick()" runat="server" Font-Size="X-Small" Font-Names="Arial" Text="Submit"></asp:button>
>ASP.NET squeals like a stuck pig.
>
>Bill
>
>>I *think* you could have each button call a different (client side) JavaScript function. Inside each function you'll do whatever validations you need and then call document.myform.submit to actually post the form the web server.
>>
>>I say "I think" because I have never done this, I've only seen/heard examples that mention this. Hope this helps.
Hector Correa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform