[Mono-devel-list] RE: [Mono-list] How to maintain values in a HtmlSelect when modifying the content with javascript ?

Pablo Baena pbaena@uol.com.ar
Fri, 12 Dec 2003 20:07:17 +0000


On Thursday 11 December 2003 23:37, John BouAntoun wrote:
> Controls in the System.Web.UI.WebControls namespace still render to the
> page as normal html form controls, so you should be able to access them
> using javascript on the client.
>
> A good tip to keep in mind when using javascript on
> System.Web.UI.WebControls, is that each control has a ClientID property
> that is the string value of the client side control's id.

I don't think this is a good idea, since WebControls are rendered differently 
according to the browser in use, so some HTML properties may change.

-- 
Always
Know the prospects
Learn to expect
Nothing