Okay. Here are few things that should help you:
enricosoft wrote:
AsyncPostBackTrigger ImgAddTrigger = new AsyncPostBackTrigger();
Programmatically adding AsyncPostBackTrigger controls is
not supported. To programmatically register a postback control, use the RegisterAsyncPostBackControl method of the ScriptManager control. Then call the Update method of the UpdatePanel control when the control posts back. For details:
Refer[
^].
enricosoft wrote:
My ScriptManager is in the parent page and I don't know how to reach it
ScriptManager currPageScriptManager = ScriptManager.GetCurrent(Page) as ScriptManager;
if (currPageScriptManager != null)
{
}
For details:
Refer[
^]
:thumbsup: