assign a dynamically created control as a trigger for updatePanel

Posted on 2009-04-29
Last Modified: 2013-11-07
I have an updatePanel where I wish to assign an AsyncPostBackTrigger where the control ID will be for a 'range' of dynamically created linkbuttons.

Basically it is a menu which each item is a linkButton, when clicked content will be loaded bassed on the link clicked.  I have an updatePanel surrounding the links generated and an updatePanel surrounding the content that will be displayed.  These cannot belong to the same panel do to postback reasons.

If any one knows how to assign a group of dynamically created linkbuttons as a trigger to an updatePanel it would be much appreciated.
Question by:mabsUK
    LVL 14

    Accepted Solution

    Do like this.

            AsyncPostBackTrigger trigger= new AsyncPostBackTrigger(();
    LVL 1

    Author Closing Comment

    Thank you for that, alot easier then I expected!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    This video discusses moving either the default database or any database to a new volume.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now