I know how to open a modal window, clicking on a button after I wrote (in Page_Load)
Button1.Attributes.Add("OnClick", "ShowDialog();");
But I can't find out how I could open a modal-edit-window when a user clicks on Edit in a DataGrid. How kan I use the DataGrid's EditCommand to open a edit-window?
Button1.Attributes.Add("OnClick", "ShowDialog();");
But I can't find out how I could open a modal-edit-window when a user clicks on Edit in a DataGrid. How kan I use the DataGrid's EditCommand to open a edit-window?