J
Jon Spivey
Hi,
probably missing something obvious here. I have a user control hot10.ascx
which just contains a repeater, a code behind file hot10.ascx.vb which fills
the repeater from a datareader and a class file class1.vb. The class file
contains a function FixTitle which I need to use to format the data in the
repeater - I can access the function as Class1.FixTitle in the code behind
file but not in the user control which is where I need it.
So my question is - how do I access functions contained in a class file in a
user control? Obviously I could just copy the function to the user control
but surely thats not neccessary?
Cheers,
Jon
probably missing something obvious here. I have a user control hot10.ascx
which just contains a repeater, a code behind file hot10.ascx.vb which fills
the repeater from a datareader and a class file class1.vb. The class file
contains a function FixTitle which I need to use to format the data in the
repeater - I can access the function as Class1.FixTitle in the code behind
file but not in the user control which is where I need it.
So my question is - how do I access functions contained in a class file in a
user control? Obviously I could just copy the function to the user control
but surely thats not neccessary?
Cheers,
Jon