i have a problem with my page. i can get it to function once, but then it wont do it again.
i have a datalist on the page, with an image button and a series of labels underneath it.
labels 1-3 are data from a table.
labels 34-36 are from a querystring.
on image button click labels 34-36 should add together with labels 1-3 and divide by label 50. also, label 55 should take label 50 and add '1' to it. then it should redirect to the page again with new querystring values of labels 34-36 (newly generated) and from label 55.
I can get this to work once, but then nothing happens again. Maybe i need to use something other than itemdatabound? or something to do with postback? i dont know, please help!
here is my code behind:
protected void DataList1_ItemDataBound(object sender, DataListItemEventArgs e)
Label Label34 = e.Item.FindControl("Label34") as Label;
Label Label35 = e.Item.FindControl("Label35") as Label;
Label Label36 = e.Item.FindControl("Label36") as Label;
View Complete Post