While trying to figure out how to access a user control's methods contained in a master page dynamically from a content page, I came across this (pseudo)code:
Dim ucm As UC_MyUserControl = DirectCast(Me.Page.Master.FindControl("myUserControl"), UC_MyUserControl)
My problem is that only a partial list of the classes attached to my user controls display via Intellisense when I start typing "UC_" (the prefix for all my user controls)
Can anyone explain this behavior? If I can instantiate my user control into an object and call the methods attached to that user control (and, more importantly, pass it arguments), then I have come a long way to finishing my current project!
Any help would be Greatly Appreciated!
Jason