[removed] Multiple parameters in __doPostBack

前端 未结 3 982
时光说笑
时光说笑 2021-01-04 05:48

First of all, the only post (calling-multiple-dopostback-from-javascript) I found about this didn\'t help my problem, so I don\'t belive this post is a duplicate.

I

3条回答
  •  没有蜡笔的小新
    2021-01-04 06:33

    I have used multiple parameters before by building and splitting a string.

    eg

    string args = String.Format("{0};{1}", bolID, ControlID);
    

    You can then pass this in to the arguments for the postback, and when checking for the postback arguments just split the string based on your speration character (in this case ';')

提交回复
热议问题