By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,247 Members | 871 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,247 IT Pros & Developers. It's quick & easy.

determine CheckBox's checkedChange status dynamically?

P: n/a
I have an array of CheckBoxes which dynamically display in a web form.
How to detect and determine which CheckBox' check status changed? For
example,
Array(i, j) from checked to Unchecked and Array(k,j) from unchecked to
checked.

Thank you.

David
Nov 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Just handle checkbox checked event. Close autopostback.
And let user to click a button and post back page to server.
--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"david" <da***@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
I have an array of CheckBoxes which dynamically display in a web form.
How to detect and determine which CheckBox' check status changed? For
example,
Array(i, j) from checked to Unchecked and Array(k,j) from unchecked to
checked.

Thank you.

David

Nov 19 '05 #2

P: n/a
What does it look like? Does the following work?

Private Sub CheckBox_CheckedChanged(ByVal sender As _
System.Object, ByVal e As System.EventArgs) Handles _
CheckBox.CheckedChanged
................
End Sub

David
"Yunus Emre ALPĂ–ZEN [MCAD.NET]" wrote:
Just handle checkbox checked event. Close autopostback.
And let user to click a button and post back page to server.
--

Thanks,
Yunus Emre ALPĂ–ZEN
BSc, MCAD.NET

"david" <da***@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
I have an array of CheckBoxes which dynamically display in a web form.
How to detect and determine which CheckBox' check status changed? For
example,
Array(i, j) from checked to Unchecked and Array(k,j) from unchecked to
checked.

Thank you.

David


Nov 19 '05 #3

P: n/a
Should it

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"david" <da***@discussions.microsoft.com> wrote in message
news:35**********************************@microsof t.com...
What does it look like? Does the following work?

Private Sub CheckBox_CheckedChanged(ByVal sender As _
System.Object, ByVal e As System.EventArgs) Handles _
CheckBox.CheckedChanged
................
End Sub

David
"Yunus Emre ALPÖZEN [MCAD.NET]" wrote:
Just handle checkbox checked event. Close autopostback.
And let user to click a button and post back page to server.
--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"david" <da***@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
>I have an array of CheckBoxes which dynamically display in a web form.
> How to detect and determine which CheckBox' check status changed? For
> example,
> Array(i, j) from checked to Unchecked and Array(k,j) from unchecked to
> checked.
>
> Thank you.
>
> David


Nov 19 '05 #4

P: n/a
It is not compiled, since in the statement
"Handles CheckBox.CheckedChanged "
CheckBox is unknown. Because I have dynamically declared the array of
checkboxes, so the idenfiers of those checkboxes are not predefined.

David
"Yunus Emre ALPĂ–ZEN [MCAD.NET]" wrote:
Should it

--

Thanks,
Yunus Emre ALPĂ–ZEN
BSc, MCAD.NET

"david" <da***@discussions.microsoft.com> wrote in message
news:35**********************************@microsof t.com...
What does it look like? Does the following work?

Private Sub CheckBox_CheckedChanged(ByVal sender As _
System.Object, ByVal e As System.EventArgs) Handles _
CheckBox.CheckedChanged
................
End Sub

David
"Yunus Emre ALPĂ–ZEN [MCAD.NET]" wrote:
Just handle checkbox checked event. Close autopostback.
And let user to click a button and post back page to server.
--

Thanks,
Yunus Emre ALPĂ–ZEN
BSc, MCAD.NET

"david" <da***@discussions.microsoft.com> wrote in message
news:C4**********************************@microsof t.com...
>I have an array of CheckBoxes which dynamically display in a web form.
> How to detect and determine which CheckBox' check status changed? For
> example,
> Array(i, j) from checked to Unchecked and Array(k,j) from unchecked to
> checked.
>
> Thank you.
>
> David


Nov 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.