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. Server Control

Server Control

Scheduled Pinned Locked Moved ASP.NET
helpsysadminquestion
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.
  • T Offline
    T Offline
    Tiger456
    wrote on last edited by
    #1

    Hi I need to Create a Server Control in which + Is there any way to use an .ascx File inside a server Control and render it. + if it is possible How can i Implement it (Sample code will help me). + When i compile the code the .ascx must be embeded in dll Please help me to solve the problem :(( Thanks and Regards

    A 1 Reply Last reply
    0
    • T Tiger456

      Hi I need to Create a Server Control in which + Is there any way to use an .ascx File inside a server Control and render it. + if it is possible How can i Implement it (Sample code will help me). + When i compile the code the .ascx must be embeded in dll Please help me to solve the problem :(( Thanks and Regards

      A Offline
      A Offline
      asifmaniar
      wrote on last edited by
      #2

      You have to write a composite control to be able to compile it. This type of control doesn't have an ascx file, you have to add all controls to the page on the render event. read: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpcondevelopingcompositecontrols.asp

      T 1 Reply Last reply
      0
      • A asifmaniar

        You have to write a composite control to be able to compile it. This type of control doesn't have an ascx file, you have to add all controls to the page on the render event. read: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpcondevelopingcompositecontrols.asp

        T Offline
        T Offline
        Tiger456
        wrote on last edited by
        #3

        Thanks for reply

        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