G
Guest
Hi Everyone,
I'm working on a sollution to one of my problems and have come across this
sample
Dim mySearch as POSearch = ctyap(Page.FindControl(POSearch1),
me.POSearch)
mySearch.Search(str)
"they sugested getting a reference to the user control before setting
properties like visible, one I'm having a issue with"
I have a couple user controls on this masterpage and I'd like to access them
but the system complains that (in the code above):
Type POSearch is not defined
I don't have a namespace defined for the masterpage or usercontrol (because
that cased other problems). In case you needed to know that.
How do I expose the Usercontrol as a type so that this could work?
Thanks
Michael
I'm working on a sollution to one of my problems and have come across this
sample
Dim mySearch as POSearch = ctyap(Page.FindControl(POSearch1),
me.POSearch)
mySearch.Search(str)
"they sugested getting a reference to the user control before setting
properties like visible, one I'm having a issue with"
I have a couple user controls on this masterpage and I'd like to access them
but the system complains that (in the code above):
Type POSearch is not defined
I don't have a namespace defined for the masterpage or usercontrol (because
that cased other problems). In case you needed to know that.
How do I expose the Usercontrol as a type so that this could work?
Thanks
Michael