Hi,
I have a hierarchical grid. The 2nd level grid contains a column with an editItemTemplate, that editItemTemplate contains a RadComboBox. The DataSource of the RadComboBox returns over 30,000 rows, I am therefore using an additional parameter to pass in the first letter of the name which is entered into the RadComboBox.
I'm tring to do this on the OnSelecting event for the SqlDataSource:
Can you tell me how I can find the RadComboBox within the edit template of the 2nd level grid and also if this is the right place to alter the parameter value?
Thanks in Advance,
Ryan
I have a hierarchical grid. The 2nd level grid contains a column with an editItemTemplate, that editItemTemplate contains a RadComboBox. The DataSource of the RadComboBox returns over 30,000 rows, I am therefore using an additional parameter to pass in the first letter of the name which is entered into the RadComboBox.
I'm tring to do this on the OnSelecting event for the SqlDataSource:
protected void names_selecting(object sender, SqlDataSourceSelectingEventArgs e){RadComboBox rcb = (RadComboBox)editItem.FindControl("rcb_name"); e.Command.Parameters["@starts_with"].Value = rcb.Text;}Can you tell me how I can find the RadComboBox within the edit template of the 2nd level grid and also if this is the right place to alter the parameter value?
Thanks in Advance,
Ryan