How can I determine whether the shift key (or control, or
alt, etc.) is being held down when a user clicks a data
grid's column heading?
The DataGrid's OnSortCommand event gets fired when this
occurs. Mine is defined as follows:
Public Sub dgCompanies_Sort(ByVal source As Object, ByVal
e As
System.Web.UI.WebControls.DataGridSortCommandEvent Args) '
Handles dgProjectDocuments.SortCommand
In this callback routine, I access e.SortExpression to
see what column was pressed, but I need to know the state
of the modifyer keys too. Where can this be done?
Thanks,
Steve