Reputation: 3338
I have a devexpress grid, one of the columns is a repositoryItemButtonEdit control. I want the following functionality: if user click the button, another form will pop up. But I cannot find the button click event for this repositoryitemButtonEdit
Upvotes: 1
Views: 9564
Reputation: 302
You need to put griView.OptionsBehavior.Editable= false;
if this is true Click event doesn't fire
Upvotes: 0
Reputation: 1
create your own Button click event Write following line.
repositoryItemButtonEdit1.ButtonClick =+ repositoryItemButtonEdit1_ButtonClick;
and then Create following event function.
private void repositoryItemButtonEdit1_ButtonClick(object sender,DevExpress.XtraEditors.Controls.ButtonClickEventArgs e)
{
//Your Code;
}
Upvotes: 0
Reputation: 11376
The RepositoryItemButtonEdit provides the ButtonClick event. Please take a look at the screenshot attached.
Upvotes: 4