30 January, 2009
0 Comments
0 categories
When you want to change the cursor to a hand instead of the default pointer on mouse over, use CSS.
In you're gridview column:
<Columns> <asp:TemplateField HeaderText="Barcode"> <ItemTemplate><span class="hand"><%# Eval("Column")%></span></ItemTemplate> </asp:TemplateField> </Columns>
In the header:
<style type=”text/css”>
.hand { cursor: pointer; cursor: hand; } /* cross browser hand */
</style>
Tags: ASP .NET