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. placeholder in usercontrol

placeholder in usercontrol

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

    I have a WebForm that I am dynamically loading a usercontrol "uc1" into the page. The usercontrol "uc1" has a placeholder "ph1". From the page on_load, I would like to dynamically load a second usercontrol "uc2" into the placeholder "ph1" that is in the 1st usercontrol that was loaded. Is using FindControl the best way to do this? If so, does anyone have a code example?

    R 1 Reply Last reply
    0
    • E econner

      I have a WebForm that I am dynamically loading a usercontrol "uc1" into the page. The usercontrol "uc1" has a placeholder "ph1". From the page on_load, I would like to dynamically load a second usercontrol "uc2" into the placeholder "ph1" that is in the 1st usercontrol that was loaded. Is using FindControl the best way to do this? If so, does anyone have a code example?

      R Offline
      R Offline
      R Thomas 0
      wrote on last edited by
      #2

      I haven't tried anything exactly like what you want, but what i can say based on my experience with such situations is that make sure ur uc1 is completely loaded before u proceed with ur further operations on uc1 good luck, do post any problems you might have.. "Rejoice always, pray without ceasing, in everything give thanks; for this is the will of God in Christ Jesus for you."1Thess. 5:16-18

      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