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
  1. Home
  2. Web Development
  3. ASP.NET
  4. .ASCX to DLL

.ASCX to DLL

Scheduled Pinned Locked Moved ASP.NET
comtutorialquestion
2 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.
  • J Offline
    J Offline
    Jon G
    wrote on last edited by
    #1

    Can anyone tell me how to convert a user control file (ASCX) into a usable DLL Control? Jon G www.Gizmocoder.com

    R 1 Reply Last reply
    0
    • J Jon G

      Can anyone tell me how to convert a user control file (ASCX) into a usable DLL Control? Jon G www.Gizmocoder.com

      R Offline
      R Offline
      Rocky Moore
      wrote on last edited by
      #2

      Well, I do not know of any way to embed the ascx view portion of the control in a DLL. You can create a project and build the control into a DLL, but have no clue how you would use it from there (at least with the designer). If you really need it in a DLL, consider converting it to a WebControl. Then you can use the DLL in any project and add it to your VS.NET toolbar in the designer. For me, I just use move the files and have multiple copies. A bit of pain if update it though as you have to update all the differnet copies. I heard a rumor that this limitation is no more in ASP.NET 2.0, but I have yet to find the time to play with it and find out. Rocky <>< www.HintsAndTips.com - Now with GMail Queue www.MyQuickPoll.com - 2004 Election poll is #33

      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