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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top