Author: TBarton | Posted on: 12/31/2008 4:00:35 AM | Views : 255

I have a page that contains a panel that acts as a small window on the page that stays in the same location on the page even during scrolling using the Ajax AlwaysVisibleControlExtender.

Within this panel I have another Panel. On page load I create LinkButtons from a XML file and add a click handler.

The page also contains a update panel.

The problem is when I click on one of the LinkButtons the page does a post back and causes the panel to be empty and the click event never fires. I have tried moving the code inside and out of the update panel with the same results regardless.

Help would be greatful.

Here is the code.

Page Load Code

 If Not Page.IsPostBack Then

'Open the Usernamed XML file is it exists. Then Dynamically add
'LinkButtons to the Auto Response window.
Go to the complete details ...