Checkbox Issue 1.0

M

Mathana g

Hi,

We found an issue with checkbox control of .Net version 1.0.

Actually, checkbox controls is added with javascript as follows

chkGroupALL.Attributes.Add ("onclick", "return ProcessGroupALLClick();");


The issue is when javascript function ProcessGroupALLClick() returns false
as result

of function call.In this case, the client shouldn't posts back to server
instead it

post back to server

We have verified the functionality with a button control, it's working fine
 
T

Teemu Keiski

Issue probably is that the attribute is added to the wrong element (CheckBox
renders out also a SPAN element) or it doesn't come out at all, if memory
serves. I think this is fixed in v1.1. However, you can get over it by
using HTML server control CheckBox.

<input type="checkbox" ID="myCheck1" runat="server" />
 

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

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top