Hello!
I've a RadGrid where the User can manage some data.
In Edit- or Insert-Mode the User should be able to provide some data, the data will be checked against a Webservice and the result should be visible in Edit-Mode so the User can view them and finally Click "Finsh" to save the data and end the Edit-Mode.
My Problem is, that I don't know how to handle the Button-Click, where the data is checked.
In ItemCommand I can handle the Button-Event, but I have no access to the EditForm (as far as I know)
In ItemDataBound I have access to the Edit-Form, butI don't know how to handle the Button-Event.
Any suggestions, hints?
Thanks in advance.
Dieter
I've a RadGrid where the User can manage some data.
In Edit- or Insert-Mode the User should be able to provide some data, the data will be checked against a Webservice and the result should be visible in Edit-Mode so the User can view them and finally Click "Finsh" to save the data and end the Edit-Mode.
My Problem is, that I don't know how to handle the Button-Click, where the data is checked.
In ItemCommand I can handle the Button-Event, but I have no access to the EditForm (as far as I know)
protected void DataRadGridItemCommand(object source, GridCommandEventArgs e){ switch (e.CommandName) { case "CheckData": //Check data break; }}In ItemDataBound I have access to the Edit-Form, butI don't know how to handle the Button-Event.
protected void DataRadGridOnItemDataBound(object sender, GridItemEventArgs e){ if (!(e.Item is GridDataItem)) return; if (e.Item.IsInEditMode) { var item = (GridEditableItem) e.Item; // Access the EditForm }}Any suggestions, hints?
Thanks in advance.
Dieter