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. Connect AJAX Extender inside UserControl (ascx) to TextBox on Webpage (aspx)

Connect AJAX Extender inside UserControl (ascx) to TextBox on Webpage (aspx)

Scheduled Pinned Locked Moved ASP.NET
questionsysadminhelp
1 Posts 1 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.
  • P Offline
    P Offline
    pra net
    wrote on last edited by
    #1

    I need to subclass an extender control and put it inside a UserControl. But the target control will be on the webpage. However when I assign the TargetControlID="TextBox1" I get the following error: Server Error in '/SampleWebSite' Application. ------------------------------------------- The TargetControlID of 'MyExtender' is not valid. A control with ID 'TextBox1' could not be found. Here, "MyExtender" is the UserControl which has the extender control inside it. The "TextBox1" is on the webpage where this UserControl is used. Obviously it is looking for the TextBox1 inside the UserControl itself. How can I make it search on the entire webpage instead? What is the way to properly assign the TargetControlID in such a case? Thanks,

    modified on Thursday, March 13, 2008 7:11 AM

    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