JQuery set text value is lost after postback

后端 未结 2 1149
孤独总比滥情好
孤独总比滥情好 2021-01-22 09:39





        
2条回答
  •  甜味超标
    2021-01-22 10:08

    I think that the problem could be related to the EnableViewState property for your asp.net button; It has to be 'true' for the value to be passed into the postback handler.

    I've done a little test on my side and I'm able to reproduce your problem if EnableViewState is 'false'; It works if I set it to 'true'.

    I hope it helps,

    Roger

提交回复
热议问题