Hello,
I am using a RadGrid in edit mode with only 2 columns in not ReadOnly.
These 2 columns contain RadTextBox in EditTemplate.
The RadGrid columns can be reorder by the user.
The user can type a value in these RadTextBox and valid the whole RadGrid by clicking a classic button outside the RadGrid.
On the click button event, I am retrieving the values using this code :
TextBox txtBox = (TextBox)item.Cells[14].Controls[0];
My problem is to know the index in the Cells collection...
Is there a solution the get the cells index using the uniqueName of columns? or any other solution without fixed cells numbers?
Thank you for helps,
Read you soon.
I am using a RadGrid in edit mode with only 2 columns in not ReadOnly.
These 2 columns contain RadTextBox in EditTemplate.
The RadGrid columns can be reorder by the user.
The user can type a value in these RadTextBox and valid the whole RadGrid by clicking a classic button outside the RadGrid.
On the click button event, I am retrieving the values using this code :
TextBox txtBox = (TextBox)item.Cells[14].Controls[0];
My problem is to know the index in the Cells collection...
Is there a solution the get the cells index using the uniqueName of columns? or any other solution without fixed cells numbers?
Thank you for helps,
Read you soon.