How can I create a custom Repeater that displays Header, Footer based on properties?

后端 未结 5 1580
长情又很酷
长情又很酷 2021-02-09 07:19

I want to create a Repeater that displays the header/footer based on properties, only if the DataSource is empty.

public class Repeater : System.Web         


        
5条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-09 07:42

    override the render event to output the HTML you want based on the all properties you have mentioned.

提交回复
热议问题