ContentPlaceHolderID added to all my field id's. how to control them?

前端 未结 2 1240
陌清茗
陌清茗 2021-01-16 04:42

I have aspx pages which uses repetative code. So i put them on a masterfile and referring that in all other files. I have used the in all other pages where i included maste

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-16 05:16

    To not append the Container's ID to the control's id, set the ClientIDMode="Static" property of the control.

    <    
    

提交回复
热议问题