please helpppppppp check box and datalist

Discussion in 'ASP .Net Building Controls' started by mahsa, May 5, 2004.

  1. mahsa

    mahsa Guest

    I have a datalist that show quantity price and some information in each row when user click oon checkbox it show in quantity 1 and calculate the price with the item he have already in shopping card my broblem is how can I do onselectedchange check bo

    I want to have onselectedchange event for the check box in my datalist when I try to use it is makes error becouse the checkbox dynamicly in datalist and it dosent have
    this.CheckBox1.CheckedChanged += new System.EventHandler(this.CheckBox1_CheckedChanged)

    or if I us
    <input type="checkbox" id="cbItem" runat="server" onclick="test(this)

    value='<%#DataBinder.Eval(Container.DataItem, "PartNo")%>' NAME="cbItem"><%#DataBinder.Eval(Container.DataItem, "PartNo")%
    instead of asp:checkbox it dosent work with my public void in serverside I confuse
    I just want to have a check box in datalist that when it checked it call some voi
    whats your Idea
     
    mahsa, May 5, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mit
    Replies:
    1
    Views:
    817
    Ramu Pulipati
    Jan 25, 2006
  2. =?Utf-8?B?bWFoc2E=?=

    check box in datalist

    =?Utf-8?B?bWFoc2E=?=, May 3, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    3,732
    =?Utf-8?B?bWFoc2E=?=
    May 5, 2004
  3. Nevyn Twyll
    Replies:
    8
    Views:
    1,889
  4. sashi

    stuck real bad .......HELPPPPPPPP!!!!!!

    sashi, Dec 1, 2007, in forum: C Programming
    Replies:
    13
    Views:
    483
    David Thompson
    Dec 17, 2007
  5. Jim

    Check box and text box disable

    Jim, Jun 3, 2004, in forum: Javascript
    Replies:
    3
    Views:
    123
    Randy Webb
    Jun 4, 2004
Loading...

Share This Page