"document.getElementById('<%= " +
btnButton.ClientID + " %>').click()");
"document.getElementById('" + btnButton.ClientID +
You don't need the client side server includes
during a server side operation.
Edit: OK so I've gone through your code with a
finer toothed comb and I've found these additional
- The button's visibility is set to false so it
won't even be rendered. If you want it to be
clickable then you will need to hide it using css
- What is an ASPxButton? Did you mean
- As there is nothing in the div its auto height
and width will be set to zero.
Try sorting out those issues and post your new
code if this still does not work.