I am trying to get the double click feature to work on a grid.
In the page controller where I set the ViewContext for the grid I have set the RowDoubleClickCommandName of the GridContext to EditNames.Edit. Hoping that it will run the edit command for that Grid but it doesn't. What am I doing wrong?
Code Excerpt (From SearchSummaryDetailPageController)
private void AddSearchResultsViewContext()
{
// Create and add a new GridViewContext for the master grid
GridViewContext searchResultsViewContext =
GridViewContext.AddNew(WorkItem, SearcherViewController.SearchResultsViewId);
searchResultsViewContext.BeforeLeaveRowHandler = MasterGridBeforeLeaveRowHandler;
searchResultsViewContext.RowDoubleClickCommandName =
CommandNames.Edit;
//Have also tried
//searchResultsViewContext.RowDoubleClickCommandName =searchResultsViewContext.MakeViewSpecifiedId(CommandNames.Edit);