Question 1) I have a control to which I add an attribute from the server side by using a sentence like:
ControlName.Attributes.Add("myTestAttribute", "")
From the client side I modify the value of this attribute by using the Javascript function:
Document.getElementById(ControlName).setAttribute("myTestAttribute", “Hello Server!!”);
My problem is that when I try to acces to the attribute value on the Postback treatment function the attribute is empty. Am I missing some step?
Question 2) Is it possible to obtain the full HTML code of the page in the server side from inside a Postback treatment function?