Click here to Skip to main content
15,946,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in MVC3 i have a view called Registration that is containing [text box,dropdownlist,check box also]
i need loading image in submit button and client side validation also

handling through Model

plz suggest me to get rid of this problem

Thanks in advance

1 solution


You can do this with javascript only
1)add a div tag with loading image set it display property to none
2)in JS onSubmit or submit button's click event call JS function
3)set the display property of loading div tag to block
4)and validate your controls and again set display of loading div to none
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900