Access to the Type of my UserControl

G

Guest

I wanted to create some static functions inside my user control just as a
nice way of packaging together some UI functionality with some related non-UI
functionality. So, inside my UserControl, I created these static functions.
Here's my problem: From my code-behing C# files for some of my pages, I'm
trying to reference the class for my UserControl but I can't seem to get to
it. The UserControl is created an defined inside a namespace which I do have
a "using" for on the pages, so it's not that. Is it because these controls
are not pre-compiled? Is that the reason why they can't be referenced this
way?

Alex
 
M

Matthias Pieroth

Hi Alex,

would you please provide some code for this issue. I would like to see how
you reference your class for the UserControl.

Bye
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top