开发者

ASP.net: Extending or Adding pieces to Existing BoundField

开发者 https://www.devze.com 2023-01-23 22:12 出处:网络
Is it possible to add a property to the existing asp:BoundField control without creating a brand new instance to which I\'d have to declare <tst:BoundField></tst:BoundField>?

Is it possible to add a property to the existing asp:BoundField control without creating a brand new instance to which I'd have to declare <tst:BoundField></tst:BoundField>?

If so, can someone provide an ex开发者_如何学运维ample?


You, you have to create a class that inherits from it and do it the way that you mentioned, or see if you could leverage the TemplateField or another column for what you are trying to do.

HTH.

0

精彩评论

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