adding runat=“server” changes the behaviour of the layout

前端 未结 3 936
盖世英雄少女心
盖世英雄少女心 2021-01-03 00:29

I have a page with some controls, usercontrols etc.

when I change a div from plain

to a
3条回答
  •  日久生厌
    2021-01-03 00:52

    Add ClientMode="static" this will make sure your id is not changed to the clientside id for your control.

提交回复
热议问题