if you want the checkbox to post to the server when chcecked, set
AutoPostBack = true
-- bruce (sqlwork.com)
> This is a total ID-10T error, but since its my first attempt I'm missing the
> obvious.
[quoted text clipped - 16 lines]
>
> john
John Mott - 14 Sep 2007 20:26 GMT
Thank you, that was it. I guess I assumed that putting it in a panel implied
a server hit, but it makes more sense to have the controls do what they
normally do.
John
> "bruce barker" wrote:
> if you want the checkbox to post to the server when chcecked, set
> AutoPostBack = true
> -- bruce (sqlwork.com)
>
[quoted text clipped - 18 lines]
>>
>> john
John Mott - 14 Sep 2007 21:07 GMT
Thank you again. The next thing i found was that I can't figure out how to
pass a value back in through a checkbox. It never occurred to me before that
the <asp:checkbox> didn't have a "value" attribute, so how do you use a
checkbox to send a value (like a key value to set or clear in a collection)
back into the server?
absent this ability i'll have to implement a button and some sort of
mark/not marked state, which the checkbox is perfect for.
thanks again
john
> if you want the checkbox to post to the server when chcecked, set
> AutoPostBack = true
[quoted text clipped - 21 lines]
>>
>> john