Hi, I need your help with this bug. Here is what I did,
I've a Radgrid (Q1 2010) without any Ajax enabled. And, I've implemented a sorting row function to re-order the items, in which user needs to select a row, and click on a custom-made "Move Up/Down" button located above the RadGrid. Everything is working until I've noticed that, after the sorting is done and I click on the "Edit" button to make some changes to the record. RadGrid picked the wrong record in the Edit mode.
In the HTML source code, I've seen that RadGrid has generated the id of "tr" in order such as,
<tr id="ctl00_ctl00_ContentPlaceHolderBase_ContentPlaceHolder1_RadGrid1_ctl00__0"...
...
<tr id="ctl00_ctl00_ContentPlaceHolderBase_ContentPlaceHolder1_RadGrid1_ctl00__1"...
...
<tr id="ctl00_ctl00_ContentPlaceHolderBase_ContentPlaceHolder1_RadGrid1_ctl00__2"...
...
With my sorting function, the order is messed up. Is it because of that? If so, what is the best way to fix this?
Thanks.
I've a Radgrid (Q1 2010) without any Ajax enabled. And, I've implemented a sorting row function to re-order the items, in which user needs to select a row, and click on a custom-made "Move Up/Down" button located above the RadGrid. Everything is working until I've noticed that, after the sorting is done and I click on the "Edit" button to make some changes to the record. RadGrid picked the wrong record in the Edit mode.
In the HTML source code, I've seen that RadGrid has generated the id of "tr" in order such as,
<tr id="ctl00_ctl00_ContentPlaceHolderBase_ContentPlaceHolder1_RadGrid1_ctl00__0"...
...
<tr id="ctl00_ctl00_ContentPlaceHolderBase_ContentPlaceHolder1_RadGrid1_ctl00__1"...
...
<tr id="ctl00_ctl00_ContentPlaceHolderBase_ContentPlaceHolder1_RadGrid1_ctl00__2"...
...
With my sorting function, the order is messed up. Is it because of that? If so, what is the best way to fix this?
Thanks.