title: CasperJS : how to call __doPostBack
body: <p>I am trying to scrap a page : 
  <a href="http://fd1-www.leclercdrive.fr/057701/courses/pgeWMEL009_Courses.aspx#RS284323" rel="nofollow">http://fd1-www.leclercdrive.fr/057701/courses/pgeWMEL009_Courses.aspx#RS284323</a></p>
  
  <p>But as you can see this link redirect to 
  fd1-www.leclercdrive.fr/057701/courses/pgeWMEL009_Courses.aspx 
  <strong>when you first access it. after you click on "fruits et légumes" you can access the page using the url directly</strong></p>
  
  <p>So I need to simulate a click on the button "Fruits et légumes" to access the page I want. In the code, it does a dopostback</p>
  
  <p>Here is my code that I use with <code>casperj</code>s :</p>
  
  <pre><code>var casper = require('casper').create({
  verbose: true,
  logLevel: "debug"
  });
  
  
  casper.start('http://fd1-www.leclercdrive.fr/057701/courses/pgeWMEL009_Courses.aspx#RS284323');
  
  // here i simulate the click on "Fruits et légumes"
  casper.evaluate(function() {
     __doPostBack('objLienReceptdionEvenement','2@@284323');
  });
  
  
  casper.then(function() {
  console.log(' new location is ' + this.getCurrentUrl());
  });
  
  casper.run();
  </code></pre>
  
  <p>I still be redirected to the wrong page</p>