5 Answers, 1 is accepted
0
Hello Ali,
In RadGrid "Prometheus" all grid items are from the same type - data item.
Greetings,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
In RadGrid "Prometheus" all grid items are from the same type - data item.
Greetings,
Vlad
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
nick
Top achievements
Rank 1
answered on 14 May 2008, 11:42 PM
So, if the ItemType property has been removed from the Client API, what's the best method to determine if a row is in Edit mode or not, etc?
0
Hello nick,
Can you please elaborate more on the scenario you are trying to accomplish? Based on that we will be able to suggest the best approach in your case.
Regards,
Rosen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Can you please elaborate more on the scenario you are trying to accomplish? Based on that we will be able to suggest the best approach in your case.
Regards,
Rosen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
nick
Top achievements
Rank 1
answered on 17 May 2008, 08:28 PM
We have an editable grid on the page, and the user can run actions on the lines being edited. Before, we would loop through the rows in the grid, and check the ItemType. If it was being edited we'd take action on the row, otherwise continue looping through the rows to the end...
0
Hello nick,
In such scenario I suggest you to use a client object such as array in which to hold the edited items indexes. This array can be populated on RadGrid PreRender server-side event for example. Then when needed you can traverse grid's items and check if current item is edited. I have attached a very simple implementation of such approach.
Sincerely yours,
Rosen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
In such scenario I suggest you to use a client object such as array in which to hold the edited items indexes. This array can be populated on RadGrid PreRender server-side event for example. Then when needed you can traverse grid's items and check if current item is edited. I have attached a very simple implementation of such approach.
Sincerely yours,
Rosen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center