no, when you make some visible=false in your code, it doesn't even arrive
client side.
You want to use an HtmlControl that you can hide, and JavaScript will be
able to see that.
If its not in the HTML output, then JavaScript cannot see it as it doesn't
exist client side
Thanks for your help on both points. I find that it's difficult trying
to think about a stateless environment in OO terms!
I'm probably using the literal control totally wrong - basically my
page class has 'pageNumber' int which I was populating a hidden literal
with in the hope that I could access it using client side script. Is
there a better alternative? Any way to populate a hidden form field
using server controls?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.