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

Pablo Baena pbaena at uol.com.ar
Fri Dec 12 15:07:17 EST 2003


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




More information about the Mono-devel-list mailing list