0

I have a dropdownlist, which with its selectedindexchanged event it populates a second dropdownlist. they are hosted in a jquery popup and they are all parts of a user control which all of its contenttemplate is surrounded with an updatepanel.

My problem is that population of the second dropdownlist is happened after closing and re-opening the popup.

Can you please guide me on what can be the source of the problem?

Farshid
  • 5,134
  • 9
  • 59
  • 87
  • Can you put the UpdatePanel inside the jQuery popup? – dana Sep 18 '13 at 23:39
  • I tested it with keeping the parent updatepanel for the whole control and adding a child one just for the popup but it did not help. – Farshid Sep 18 '13 at 23:42
  • I think the issue is that the HTML contents of the UpdatePanel are reloaded when the second dropdownlist is loaded. If the default state of the popup is "closed", you will have to re-open once the UpdatePanel is reloaded - http://stackoverflow.com/questions/1190549/how-can-i-run-some-javascript-after-an-update-panel-refreshes – dana Sep 19 '13 at 00:01

0 Answers0