开发者

insert below the header in gridview and not in the footer?

using asp.net/sqldatasource/vb

Is there a way to place the insert row below the header in a gridview instead of in the f开发者_运维问答ooter?


No. Not that I'm aware of anyway.

You'd need to create a custom control which inhertis from the GridView class and override one of the Render methods. Or just write your own control.

A simplier method though, would be to hide the GridView header, create a html table that is the same style as the GridView header with a insert row below and then just place it directly above your GridView. Cheating in a way - but it'll work as long as you have all the columns at the same width in your GridView and your html table.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜