Why does my save use the initial value of my TextBox and not the entered value?

前端 未结 6 1464
遥遥无期
遥遥无期 2021-01-01 16:19

I have a textbox on my website:


On page l

6条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-01 17:16

    You need to get the information from the request rather than using the property like that:

    var theValue = this.Context.Request[this.myTextBox.ClientID];
    

提交回复
热议问题