Default text for empty Repeater control

前端 未结 8 989
醉梦人生
醉梦人生 2021-02-02 05:43

Using VS 2008, I have a Repeater control:



        
8条回答
  •  南方客
    南方客 (楼主)
    2021-02-02 06:19

    Joaos answer can even be simplified. In the footer, do not set the visible-property of your default item to false, but use the following expression:

    
        
    
    

    This way, you can save the code behind.

提交回复
热议问题