Ravi,
I'm just assuming that this is for a webpage, if so, just place code in
the SelectedIndexChanged to set btnfoo.enable = false, make sure you
have AutoPostBack set to true on the listbox, or you will need to have
this clientside, javascript. Both ways will work, javascript will be
more pleasing to the user as it won't require a postback, but server
side would allow expanded data lookup on the selection.
Dewm