Hide Repeater columns based on user privileges

前端 未结 3 1765

Can somebody explain to me how to hide a repeater column based on the user privileges.

Say I have:



        
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-19 10:58

    You could do something like the following:

    
    

    Where IsUserLoggedOn is some function that returns a boolean that is true if the user is logged on

提交回复
热议问题