Results 1 to 22 of 22

Thread: [RESOLVED] Help with check boxes in a repeater

Hybrid View

  1. #1
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    Re: Help with check boxes in a repeater

    Controls in a repeater are always dynamically created
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

  2. #2

    Thread Starter
    New Member Ameera's Avatar
    Join Date
    Aug 2012
    Posts
    8

    Re: Help with check boxes in a repeater

    Hi

    Thanks.. would anyone be able to guide me on resubscribe to the event in the page load? i am seeing this a lot online as the solution to the problem, but i don't know how to do that.

    would it be something like:

    Code:
     ChkLikeComment.CheckedChanged += New EventHandler(chkLikeComment_CheckedChanged)
    i tried doing that in the repeater item databound but it was underlined with an error stating that it is an event and cannot be called directly and to use raise event instead..

    i also tried doing that in the page load but it does not recognise ChklikeComment becuase it is in the repeater and also underlined (chkLikeComment_CheckedChanged) wiht an error that says

    "Delegate 'System.EventHandler' requires an 'AddressOf' expression or lambda expression as the only argument to it's constructor"

    i am really lost as to how to get this check box to work within the repeater.. i need to get this done for a school project as soon as possible.... would appreciate any help i can get.

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Help with check boxes in a repeater

    Quote Originally Posted by Lightning View Post
    Controls in a repeater are always dynamically created
    Doh! Good point well made

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