• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 587
  • Last Modified:

assign a dynamically created control as a trigger for vb.net updatePanel

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.
1 Solution
Do like this.

        AsyncPostBackTrigger trigger= new AsyncPostBackTrigger(();
mabsUKAuthor Commented:
Thank you for that, alot easier then I expected!

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now