Click here to Skip to main content
15,915,600 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to stop postback to imagebutton in asp.net
Posted
Comments
R. Giskard Reventlov 15-Jul-11 5:40am    
a) need more detail: I lost the power of telepathy a while back and b) what have you tried for yourself?

1 solution

OnClientClick="return false;" should avoid postback.
You can use an image control instead but that depends on your requirement.
 
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