cesark
Programmer
- Dec 20, 2003
- 621
I have three form pages process registration, in order to submit every form I use 'asp: button', as well these buttons triggers subroutines, and through the 'OnSubmit' html form event several javascript validations are triggered:
My question is, Can I use 'asp:linkbutton' or 'asp:imagebutton' in order to do the same things? I mean, trigger the subroutines and to cause the form submit so that the javascript validations works? Have the 'asp:button', 'asp:linkbutton' and 'asp:imagebutton' the same utilities? Will I encounter problems with the old browser client versions?
I would like to use links, images and so on instead of the classic gray buttons, but I was told that if I use links, images,.. I don' t have the guarantee that all the browser versions will work correctly in order to trigger the javascript validations through the 'OnSubmit' html event. Is this true?
Thank you,
Cesar
Code:
<form id='form1' OnSubmit='client_Validation()' runat='server'>
I would like to use links, images and so on instead of the classic gray buttons, but I was told that if I use links, images,.. I don' t have the guarantee that all the browser versions will work correctly in order to trigger the javascript validations through the 'OnSubmit' html event. Is this true?
Thank you,
Cesar