public void RaiseCallbackEvent(String eventArgument)
{
// Processes a callback event on the server using the event
// argument from the client.
//Response.Write(eventArgument);
printAlternativesFromAirport(eventArgument);
}
public void printAlternativesFromAirport(string airport)
{
List<TravelPlan> alternatives = fit.Code.TextDataHelper.GetAllTravelPlansFromCity(airport);
AlternativesAcc.Panes.Clear();
AjaxControlToolkit.AccordionPane p = new AjaxControlToolkit.AccordionPane();
Label header = new Label();
header.Text = airport;
Label content = new Label();
content.Text = airport;
p.HeaderContainer.Controls.Add(header);
p.ContentContainer.Controls.Add(content);
AlternativesAcc.Panes.Add(p);
...
您好,
printAlternativesFromAirport方法应该在回调后更改一个折叠面板,但事实并非如此。有什么我可以解决这个问题吗?应该有页面生命周期的stg,但我无法弄明白!
由于