Hi people.
Question - so I have a button inside a formtemplate in a radGrid. Based on selections in the formtemplate, hitting this button issues a "Generate" command which then the form posts back and goes to the database to retrieve the data for the specified selections.
It works when you are in "insert" mode but the same FindControl method is not working when the row is an existing row and you are trying to update.
Basically, the Insert/Update as well as this Generate command go off the ItemCommand event so u start off with
The FindControl method is then used for the various controls present in the FormTemplate afterwards.
Am I missing something?
Thanks.
Roland
Question - so I have a button inside a formtemplate in a radGrid. Based on selections in the formtemplate, hitting this button issues a "Generate" command which then the form posts back and goes to the database to retrieve the data for the specified selections.
It works when you are in "insert" mode but the same FindControl method is not working when the row is an existing row and you are trying to update.
Basically, the Insert/Update as well as this Generate command go off the ItemCommand event so u start off with
GridEditableItem gei = e.Item as GridEditableItem;
The FindControl method is then used for the various controls present in the FormTemplate afterwards.
Am I missing something?
Thanks.
Roland