Keep in mind server side controls can't handle a lot of the logic that you are accustomed to using in VB. It doesn't make sense.

You need to use client-side scripts to do this.

Remember, the asp.net server sends html code for the browser to interpret so anything that isn't possible in HTML has to be done with a script.