I created an asp:table which store dynamic controls (label, dropdownlist, button). When I click on a button, an event fired and I lose data because of the postback.
private void buildTab(){
foreach(Article a in tabDatas){
TableRow tr = new TableRow;
...
Button b = new Button();
b.OnClick += new EventHandler(buttonUpdate_Click);
...
tab.Rows.Add(tr);
}
}
I work on VS 2008 and I can't use AjaxControlToolkit.
My question is : How to update just the row who fired the event and not entirely the tab ? I think I've to use Ajax but I have no idea how do this.
Thanks for your advice.