Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Autopostback


Message #1 by "Rick Delorme" <rick@p...> on Wed, 19 Dec 2001 08:46:40 -0500
Hi,

You can't do that with a CheckBoxList.
If you dynamicly add items to the CheckBoxList you can also add an attribute 
with you own defined client-side JavaScript function that handle this for 
you.

I recommand you to create an individial Checkbox controls and create your 
own layout and set the autopostback property on the ones you like to have 
autopostback switch on.

If you use the CheckBoxList for bind it to a data source you could instead 
use DataList and add a template with the Checkbox control.
You can modify the template to look like the CheckBoxList.

/Fredrik Normén


>From: "Rick Delorme" <rick@p...>
>Reply-To: "ASPX_Professional" <aspx_professional@p...>
>To: "ASPX_Professional" <aspx_professional@p...>
>Subject: [aspx_professional] Autopostback
>Date: Wed, 19 Dec 2001 08:46:40 -0500
>
>Trying to set an autopostback=true for a specific checkbox in a
>checkboxlist.
>I can get at the specific listitem I want, but cannot seem to find a way to
>make it do a postback when it it is clicked unless I do autopostback=true
>for the entire checkboxlist...not desireable for my particular situation.
>
>Any Ideas.
>TIA.
>
>
>
>$subst('Email.Unsub').

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


  Return to Index