1

I have a page with an update panel, this page also has an ajax model popup. When I click some buttons I make some changes in code behind and then show the popup. For some reason when I click the button in the update panel no changes occur in the popup.

Debugging through the click I see that the changes are applied but the popup is not refreshed.

Any suggestions would be greatly appreciated.

freaky
  • 13
  • 2
  • Some code will help more. Some javascript need to re-initialize after every upatepane refresh. One example: http://stackoverflow.com/questions/16227477/datepicker-not-appearing-after-adding-rows-to-editable-gridview/16227685#16227685 – Aristos Apr 29 '13 at 13:03

2 Answers2

0

You need to register a post back trigger so that the popup is completely refreshed. This is of course if you want the page to post back, otherwise if you want those changes to be reflected in the popup you will need to use javascript.

example: asp:PostBackTrigger ControlID="UploadTemplateImageButton"

Mido
  • 452
  • 1
  • 4
  • 13
0

you have to set the panel visibility to false on page load. ex: panel1.Visible=false;

Thiru
  • 13
  • 1
  • 5