Custom Control in a Repeater

Discussion in 'ASP .Net' started by mavrick_101, Jul 12, 2010.

  1. mavrick_101

    mavrick_101 Guest

    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.
    mavrick_101, Jul 12, 2010
    #1
    1. Advertising

  2. mavrick_101

    mavrick_101 Guest

    Pls Ignore

    Thnx
    mavrick_101, Jul 12, 2010
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    842
  2. Jonah Olsson
    Replies:
    1
    Views:
    562
    Scott Allen
    Apr 5, 2005
  3. =?Utf-8?B?SmF5YnVmZmV0?=
    Replies:
    9
    Views:
    838
    Phillip Williams
    Feb 21, 2006
  4. Matt Sokol
    Replies:
    2
    Views:
    365
    Theo Tillotson
    Aug 7, 2003
  5. Cappy

    Repeater control in a rendered custom control

    Cappy, Jan 21, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    145
    Cappy
    Jan 21, 2004
Loading...

Share This Page