Results 1 to 2 of 2

Thread: [2005] Access control within repeater

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Posts
    180

    [2005] Access control within repeater

    I have a repeater control, within my itemtemplate is a checkbox.

    Is there anyway I can trap its CheckChanged event, it doesn't show up in the page class.

    I know how to get to it using findcontrol but can I add a handler to it?

    Thanks

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Access control within repeater

    What you want is the ItemCommand event.

    Set the checkbox's AutoPostBack property to true. Give it a CommandArgument. You should be able to capture it in the ItemCommand event of the repeater then.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width