Recently, I came across a problem where I had to dynamically add a hidden user control into the ContentTemplate of an ASP.NET AJAX accordion control. This, was over complicated, by the fact that this accordion was nested in a tab control and getting some data synchronously and some asynchronously. One of the problems I faced [...]
Archive for the ‘ASP.NET’ Category
Scenario: You have build a user control with a button and now you wish to embed the control onto you page. However, you want to handle the click event of the button on the main page, not in the control. Solution: To do this, you need to expose the event handler of the user control [...]