471,581 Members | 2,374 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,581 software developers and data experts.

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 1038
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
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
1 post views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.