Shaul Feldman said:
Thanks a lot! it worked

Another small question - If I understand correctly, ViewState saves values
of all objects that have runat=server. How can I isolate a certain object
(let's say an asp:TextBox) that I have on my ASPX page in order to receive
it's value from ViewState? Can I or can't?
You don't have to worry about reading the viewstate of the object. If it has
viewstate, then it will internally use it to pull from it all the control
properties, and you just access TextBox1.Text, TextBox1.Tooltip, etc (you
may do this on PageLoad when IsPostBack=true)
And also may be an object/value added/removed/edited to ViewState from
JavaScript??
Nope. It's an internal proprietary format.
The way to send info from js to your server aspx page is filling an actual
control (i.e. Textbox) or a hidden HTML field placed inside the <asp:Form>
You may access its value either with the .Text property, or with
Request["fieldName"].Value
Hope this help, regards
Jose Marcenaro