Author: west10 | Posted on: 10/19/2010 9:45:35 AM | Views : 313

Hi All,
I'm inserting panels within a table, each panel has an increment and decrement input button that uses javascript to update a textbox value within the panel.
The buttons stopped working when I adjusted the table to have multiple columns. 
Here's the code:
private void OrderDriver() { //Get vendor items MyItemList = new List<Item>(); MyItemList = Populate(); //Display vendor items Table tbl = new Table(); Page.Form.Controls.Add(tbl); int rowcount = getrowcount(MyItemList.Count); int colcount = 2; for (int i = 0; i < rowcount; i++) { TableRow row = new TableRow(); for (int j = 0; j < colcount; j++) { TableCell cell = new TableCell(); ...

Go to the complete details ...