I´m using the RadDataForm, but I have one problem. When I go to Edit Mode, I want that the add and delete buttons goes disable.
How can I do that?
1 Answer, 1 is accepted
answered on 30 May 2011, 09:32 AM
The enabled / disabled state of the buttons is controlled internally by a logical check whether the source collection allows or not adding /deleting of items.
So as a workaround I may suggest to handle the Beginning Edit event. Inside the event you may hide the Add button , and after edit - show it again .
For this you will need to use the CommandButtonsVisibility property.
In case you have troubles implementing this , just let me know what kind of source collection do you use , and I will prepare a small sample for you.
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items