I have a Devexpress Gridview. I generated a GridViewCommandColumnCustomButton in that Gridview on server side.
GridViewCommandColumn coldescriptor = new GridViewCommandColumn();
GridViewCommandColumnCustomButton CusButton = new GridViewCommandColumnCustomButton();
CusButton.ID = "btnPopup";
coldescriptor.VisibleIndex = 2;
CusButton.Image.Url = "~/Images/color2.jpg";
coldescriptor.ButtonType = ButtonType.Image;
coldescriptor.CustomButtons.Add(CusButton);
ggc_preview.Columns.Add(coldescriptor);
On that Custom button click, I need to open a popup either by devexpress popup control or any other means.
Inside that popup control I need to load some controls dynamically.
How can I open popup on GridViewCommandColumnCustomButton click?
Perform the following steps to accomplish this task:
Handle the client-side CustomButtonClick event;
Show the ASPxPopupControl via the client-side Show method.
I usually use DevExpress Search service for such questions.