I have created a userControl which holds the grid. On page load a dropDownList is shown along with a button. Upon selecting an item and clicking search the grid will then display the data. The problem I am having is on page load the grid visible is set to false. Upon the search button being clicked the visibility is then set to true. The grid displays correctly, however the headerContextMenu does not display. However if I do not hide the grid on page load, i.e. it is visible before a user clicks search, then the HeaderContextMenu will then work.
Any help with this would be much appreciated, I can create a work around by hiding the grid via css, however I would like to avoid this.
Any help with this would be much appreciated, I can create a work around by hiding the grid via css, however I would like to avoid this.