ajax triggers,c# – AJAX UpdatePanel triggers in different contents – Stack Overflow

  • Post author:
  • Post category:其他


I have a problem with UpdatePanel Triggers. I’m using a Master Page, which has five content area’s in it.

In my Default.aspx file in one content area I have a RadioButtonList(AutoPostBack=true), in other content I have an UpdatePanel.

I’ve tried to add a trigger to this UpdatePanel but no method(listed below) I’ve tried works?

AsyncPostBackTrigger tr1 = new AsyncPostBackTrigger();

tr1.ControlID = rblSize.UniqueID;/”rblSize”;

tr1.EventName = “SelectedIndexChanged”;

upObrazki.Triggers.Add(tr1);

When I use conditional update I still see the refreshing of page.