Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional Validation
Message
 
À
16/04/2004 12:07:19
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00895521
Message ID:
00895609
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform