Problem With the checkbox web control at framwork 1.1

I

Ido Aver

When adding a asp:checkbox web control to a web form it appears at the
client side as a span tag and in it an input tag (typed as a
checkbox). When adding an onclick event to that asp:checkbox it
appears in the client side in the span tag. that was true for
framework 1.0. At framework 1.1 the onclick event appears in the input
tag and not in the span tag. i havn't found any documantation about
it. does anyone know about this problem (and maybe how to solve it) or
maybe about any documantation on it? the only thing i found is a
message someone sent about it at this link but was never answerd :
http://groups.google.com/[email protected]&rnum=1
please help me.
 
B

bruce barker

MS never documented the rendering rules of controls, or client script
intergration. They cleaned up the rendering in 1.1, which seems a good idea,
but did not need to document it as client script is unsupported with asp
controls.

if you wish to use client script, I'd use the html controls, or write your
own set of server controls so that you have defined behavior.

-- bruce (sqlwork.com)
 

Ask a Question

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.

Ask a Question

Top