furtivevole
Technical User
Hi I have a gridview which includes a hidden ID field, a customer name field, and some other basic customer-related stuff. This is displayed in a panel with scrollbars at the top of the page, and the displayed columns are all sortable. The panel is 5 lines deep and so can display only a fraction of the full customer list at once.
The customer name field is a HyperLinkField, set to return to the same page:
which will then display fuller customer details in a lower panel. On page reload, ths upper panel with the scrollable list should remain available for any further selection.
The problem is that I'd like the chosen customer to always come back visible and highlighted in the upper panel. In good old asp classic, you could use the querystring value to test against the value of each html list entry, and set the one that matched to 'selected'. I guess under .net this must be similar, but I've not been able to find an example. Can anyone help here please?
The customer name field is a HyperLinkField, set to return to the same page:
Code:
DataNavigateUrlFormatString="CustomerProfiles.aspx?CustID={0}"
The problem is that I'd like the chosen customer to always come back visible and highlighted in the upper panel. In good old asp classic, you could use the querystring value to test against the value of each html list entry, and set the one that matched to 'selected'. I guess under .net this must be similar, but I've not been able to find an example. Can anyone help here please?