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. Dynamically loaded user control's button event firing problem

Dynamically loaded user control's button event firing problem

Scheduled Pinned Locked Moved ASP.NET
helpannouncement
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
    jophinmichael
    wrote on last edited by
    #1

    Hi , I am having a page in which I am dynamically loading a usercontrol on click of LoadUserControl button . On click of the LoadUserControl button the user control is loaded dynamically . In the user control one update button is there . On click of the update button , the update button event is firing . After that we again load this user control by clicking the LoadUserControl button . Then if we click on the update button of the user control the update button event is not firing . Please help . Thanks in advance Jophin

    jophin

    T 1 Reply Last reply
    0
    • J jophinmichael

      Hi , I am having a page in which I am dynamically loading a usercontrol on click of LoadUserControl button . On click of the LoadUserControl button the user control is loaded dynamically . In the user control one update button is there . On click of the update button , the update button event is firing . After that we again load this user control by clicking the LoadUserControl button . Then if we click on the update button of the user control the update button event is not firing . Please help . Thanks in advance Jophin

      jophin

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      One thing is you can try is on the page init set the event of the button in your user control on each postback.

      I didn't get any requirements for the signature

      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