title: JavaScript: Multiple parameters in __doPostBack
body: <p>First of all, the only post (<a href="https://stackoverflow.com/questions/360843/calling-multiple-dopostback-from-javascript">calling-multiple-dopostback-from-javascript</a>) I found about this didn't help my problem, so I don't belive this post is a duplicate.</p>
  
  <p>I have this JavaScript function in my ASPX webpage that includes a __doPostBack function:</p>
  
  <pre><code>function OpenSubTable(bolID, controlID) {
    // code
    __doPostBack('UpdatePanelSearch', bolID);
    // more code
  }
  </code></pre>
  
  <p>Works perfectly and I can get the value of bolID into my code behind like this:</p>
  
  <pre><code>protected void UpdatePanelSearch_Load(object sender, EventArgs e)
  {
    var bolID = Request["__EVENTARGUMENT"];
    // code
  }
  </code></pre>
  
  <p>The problem is, that I have to pass 2 different values through the postback. Are there any simple solutions to this? Obviously something like this doesn't work:</p>
  
  <pre><code>function OpenSubTable(bolID, controlID) {
    // code
    __doPostBack('UpdatePanelSearch', bolID, controlID); // not that simple, i'm afraid :(
    // more code
  }
  </code></pre>
  
  <p>Any help would be most welcome.</p>
  
  <p>Regards,
  Gunnar</p>