0

Is it possible to change my gridview select column to an image? When a user clicks on select it opens a pdf from the gridview. Is it possible to instead have a small pdf icon instead of a select link? At the same time still be able to call:

Protected Sub GridView1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles GridView1.SelectedIndexChanged
4

1 回答 1

1

将您的选择列转换为 a TemplateField,然后将Button内部更改为ImageButton。确保Command="Select"保持不变,因为这是 GridView 用来触发和处理SelectedIndexChanged事件的。

于 2013-07-23T19:08:22.127 回答