469,133 Members | 1,239 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,133 developers. It's quick & easy.

A question of Checkbox in a Datagrid

Hello all,
I have a datagrid with a template column with checkbox, and at this template
column,
at header section, i have a checkbox with autopostback property as true,
and when i check this checkbox i need to check all others.

But i don't can to use the ItemDataBoundEvent, because this event, is called
once only.
I need to check all checkbox of column when the user to check this checkbox
of header section.
Somebody have a idea about this???
Thanks.

Dexter
Nov 19 '05 #1
1 1002
Hi,
If your purpose is only to check all the check boxes when you check the
checkbox from header then i would rather you preferred javascript. You can
register clientside script at runtime. methods are available in Page class..
No need do postback for this simple reason....
if you have any difficulty let me know...

Regards,

Satish

"Dexter" wrote:
Hello all,
I have a datagrid with a template column with checkbox, and at this template
column,
at header section, i have a checkbox with autopostback property as true,
and when i check this checkbox i need to check all others.

But i don't can to use the ItemDataBoundEvent, because this event, is called
once only.
I need to check all checkbox of column when the user to check this checkbox
of header section.
Somebody have a idea about this???
Thanks.

Dexter

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Sebi | last post: by
reply views Thread by mike | last post: by
1 post views Thread by iforsyth | last post: by
7 posts views Thread by Lars Netzel | last post: by
10 posts views Thread by Jennyfer J Barco | last post: by
2 posts views Thread by Adam Knight | last post: by
3 posts views Thread by Fao, Sean | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.