Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Confused... ASP.NET 2.0 User Control

Confused... ASP.NET 2.0 User Control

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rockman X7
    wrote on last edited by
    #1

    Helo all! Hmm.. Actually I just "new" using the ASP.NET 2.0 and I quite confused... And I try to add user control in the web page by using code behind and programmatically in C#... Unfortunately, I couldn't do it... Because I can't find the user control class... Anyone can help me?

    T 1 Reply Last reply
    0
    • R Rockman X7

      Helo all! Hmm.. Actually I just "new" using the ASP.NET 2.0 and I quite confused... And I try to add user control in the web page by using code behind and programmatically in C#... Unfortunately, I couldn't do it... Because I can't find the user control class... Anyone can help me?

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      Add the following to the top of you html. <%@ Reference Control="~/usercontrols/YourControl.ascx" %> "People who never make mistakes, never do anything." My Blog

      R 1 Reply Last reply
      0
      • T ToddHileHoffer

        Add the following to the top of you html. <%@ Reference Control="~/usercontrols/YourControl.ascx" %> "People who never make mistakes, never do anything." My Blog

        R Offline
        R Offline
        Rockman X7
        wrote on last edited by
        #3

        Helo Todd! Thanks for replying... Yeah, after we type the reference of that user control, we able to see the class name... But is there any other way except add the reference? Oh yeah! I wanna ask for other things also... Do you know what web site that provide tutorial how to make a good class structure? I think my class design is really bad... Any clue? Thanks!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups