Custom Control in a Repeater

M

mavrick_101

Hi,

I am trying to use a custom control inside a repeater.

On Post back I'm trying to access the custom control like this:

MyCControl tempControl = (MyCControl) MyRepeater.FindControls("mycontrolId");

But on compiling I get the error that the type or namespace 'MyCControl' can
not be found.

I'm sure I'm doing something really dumb, can any one point to what I'm
missing?

Thanks for your help.
 

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

Members online

No members online now.

Forum statistics

Threads
474,341
Messages
2,571,399
Members
48,793
Latest member
evajons

Latest Threads

Top