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. How to get reference of a User Control inside another User Control

How to get reference of a User Control inside another User Control

Scheduled Pinned Locked Moved ASP.NET
csharpcomtutorialquestion
3 Posts 3 Posters 1 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.
  • H Offline
    H Offline
    Het2109
    wrote on last edited by
    #1

    I have User Control ucParent, inside which I have User Control ucChild. I am trying to refer to the ucChild from ucParent, but I am not able to ? Any hints, ideas ? BTW, if I have ucChild in an aspx page, I am able to refer it. Thanks in advance !

    Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

    N S 2 Replies Last reply
    0
    • H Het2109

      I have User Control ucParent, inside which I have User Control ucChild. I am trying to refer to the ucChild from ucParent, but I am not able to ? Any hints, ideas ? BTW, if I have ucChild in an aspx page, I am able to refer it. Thanks in advance !

      Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Het2109 wrote:

      I have User Control ucParent, inside which I have User Control ucChild. I am trying to refer to the ucChild from ucParent, but I am not able to ?

      It's not clear. What's the error you are getting ?

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

      1 Reply Last reply
      0
      • H Het2109

        I have User Control ucParent, inside which I have User Control ucChild. I am trying to refer to the ucChild from ucParent, but I am not able to ? Any hints, ideas ? BTW, if I have ucChild in an aspx page, I am able to refer it. Thanks in advance !

        Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        You asked a question, someone has given you reply now don't you think you should clear his doubts regarding your question? Any way you can access that user control in your parent UC should not be a preblem ? Might be you have resolved the things :)

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        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