views:

18

answers:

1

Hi SO gurus. I would like to try to automize some recurrent job when i develop asp.net application.

For example, for each <asp:button> I create, I would like to insert the classical code

onomouseover="...something"  
onmouseout=" ..something-again.."

Is there a way to automatically add this code "piece" in vs 2008? Some key combination to add "pre-ready" piece of code?

Thank you

+1  A: 

Try using code snippets. This article explains.

starskythehutch