Hello again my friendly experts,
I have a situation whereby I have created a asp.net gridview using template fields. Now, this seems to be working perfectly. I have also added in the EditItemTemplate and ItemTemplate some dropdownlists with the SelectedValue. Something along the lines of <aspropDownList ID="Edit_NewDropDownList" runat="server" SelectedValue='<%# Eval("xxx") %>'.
Now what is happening is when I run the app. and click the edit button (say I have 10 rows for example), it looks to me that on the second last row and the last row, some of the field values show blank while some of the other fields have values. Also, clicking the edit button on the second last row overlaps the last row on the gridview (not sure if that has something to do with it maybe gridview formatting/size). It is not until I click cancel that I can then see the last row with populated data.
If I were a betting man, I would say that maybe I have incorrectly written the syntax for some of the controls, but this cannot be because the rest of the rows are work perfectly.
Any ideas. Hope you can visualize this.
I have a situation whereby I have created a asp.net gridview using template fields. Now, this seems to be working perfectly. I have also added in the EditItemTemplate and ItemTemplate some dropdownlists with the SelectedValue. Something along the lines of <aspropDownList ID="Edit_NewDropDownList" runat="server" SelectedValue='<%# Eval("xxx") %>'.
Now what is happening is when I run the app. and click the edit button (say I have 10 rows for example), it looks to me that on the second last row and the last row, some of the field values show blank while some of the other fields have values. Also, clicking the edit button on the second last row overlaps the last row on the gridview (not sure if that has something to do with it maybe gridview formatting/size). It is not until I click cancel that I can then see the last row with populated data.
If I were a betting man, I would say that maybe I have incorrectly written the syntax for some of the controls, but this cannot be because the rest of the rows are work perfectly.
Any ideas. Hope you can visualize this.