dynamically loading my web user control error

Discussion in 'ASP .Net' started by =?Utf-8?B?cm9kY2hhcg==?=, Apr 17, 2007.

  1. hey all,

    ASP.controls_ddlcharts_ascx uc;
    uc = (controls_ddlcharts_ascx)this.LoadControl("~/Controls/MyUsrCtl.ascx");

    this works fine when i'm testing locally (my file based solution) but when i
    try to Publish the site to localhost i get the following error:

    Error 10 The type or namespace name 'controls_MyUsrCtl_ascx' could not be
    found (are you missing a using directive or an assembly reference?)

    Any ideas?
    thanks,
    rodchar
     
    =?Utf-8?B?cm9kY2hhcg==?=, Apr 17, 2007
    #1
    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. Eric
    Replies:
    2
    Views:
    751
  2. Replies:
    5
    Views:
    4,333
    Jeremy S.
    Sep 13, 2005
  3. Jamil
    Replies:
    1
    Views:
    2,402
    =?Utf-8?B?SFA=?=
    Nov 24, 2005
  4. Replies:
    0
    Views:
    420
  5. Luwk
    Replies:
    0
    Views:
    161
Loading...

Share This Page