title: trigger onresize in cross browser compatible manner
body: <p>I would like to trigger the onresize event from my C# code behind. I think this can be done with </p>
  
  <pre><code>Page.clientScript.RegisterScriptBlock(this.getType(), "id", "javascript code");
  </code></pre>
  
  <p>I have tried element.onresize() but it doesnt seem to work in firefox. What is the correct way to trigger an onresize event similar to the following jQuery?</p>
  
  <pre><code>$("body").trigger("resize");
  </code></pre>
  
  <p>Using jQuery itself isn't an option. </p>