KellyLynch
KellyLynch

Reputation: 251

AspxGridView: how to update the control from client side

I am using DevExpress v 10.2.

I need an advice: what is a best solution for the following problem. I have an ASP.NET Web Application. A page there contains an AspxGridView control and AspxCheckBox control. I need the following: when state of the AspxCheckBox control is changed, immediately re-load content of the AspxGridView.

The reloading may change count of rows displayed by the AspxGridView. Additionally, an instance of EditForm may be opened at the moment when AspxCheckBox control is changed.

What is a best solution here?

Upvotes: 0

Views: 4717

Answers (1)

Filip
Filip

Reputation: 3347

Use ClientSideEvents.CheckedChanged for handling ASPxCheckBox state change.
For refreshing ASPxGridView use ASPxClientGridView.Refresh.
For closing edit form use ASPxClientGridView.CancelEdit method.

You should post your code if you need more info.

Upvotes: 1

Related Questions