开发者

How to set RepeatColumns property of a Datalist using CSS?

开发者 https://www.devze.com 2023-02-08 02:54 出处:网络
Does anyone know how to set the RepeatCol开发者_StackOverflow中文版umns property of an ASP.Net Datalist using CSS ?This is fundamentally impossible.

Does anyone know how to set the RepeatCol开发者_StackOverflow中文版umns property of an ASP.Net Datalist using CSS ?


This is fundamentally impossible.

This property controls how DataList's server-side code renders its HTML.
CSS is irrelevant.


DataList.RepeatColumns is a property on a server-side control. CSS alone, being client-side, can't touch it. In order to use CSS to style your rendered HTML, you're going to need to use the actual rendered HTML.

0

精彩评论

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