html
iphone
ajax
database
android
ruby-on-rails
regex
objective-c
multithreading
eclipse
flash
html5
algorithm
oracle
cocoa
delphi
mvc
php5
jsp
dom
Visible is not a member of IHttpHandler, so you should not expect to be able to call it on such a variable. It's a member of Page, by way of Control, I believe.
Visible
IHttpHandler
Page
Control
When you cast a variable to one of the base types/interfaces of the object's class, you can only call members that are on the type of the variable (or base classes/interfaces of that type).
The IHttpHandler interface is just that - an interface. It has no knowledge of a Visible member since any class can implement this interface. What you ended up doing is casting to an object of a class that does inherit the Visible member.