Hi,
I want to set a value in a control exists in a GridTemplateColumn, I've read many threads here about it and I figure out that I must use ItemDataBound event instead,
but actually I can't, because I have a control shows a popup and the popup returns a value by a callback in the server,
so how can I deal with this situation?
The code:
Thanks in advance.
I want to set a value in a control exists in a GridTemplateColumn, I've read many threads here about it and I figure out that I must use ItemDataBound event instead,
but actually I can't, because I have a control shows a popup and the popup returns a value by a callback in the server,
so how can I deal with this situation?
The code:
protected void MyCustomControl_ItemSelected(string returnedValue){ var control = (RadGrid1.EditItems[0] as GridEdittableItem).FindControl("MyCustomTextBox"); if (control != null) { control.Text = returnedValue; }}Thanks in advance.