hi by puting the contreols in table for click event handling in web parts

Last post 08-13-2007 2:42 AM by mrajeshbabu. 2 replies.

Sort Posts:

  • hi by puting the contreols in table for click event handling in web parts

    08-10-2007, 3:14 AM
    • Member
      21 point Member
    • mrajeshbabu
    • Member since 08-01-2007, 1:15 AM
    • Posts 35

    hi

    i put the control that is dropdownlist in a table and

    there was an onclick event for the table and when i am doing onclick for the web part

    the event is raising a break point that  TABLE1_Click event undefined

    how can i go with that

     it pls help

  • Re: hi by puting the contreols in table for click event handling in web parts

    08-13-2007, 1:55 AM
    • Participant
      1,976 point Participant
    • Momo_Stev
    • Member since 06-05-2007, 8:28 AM
    • Posts 224

    I guess the table what you are using is a html control and the method you defined for the onclick event is in server side. You have to add "runat=server" in your table's tag. Only in this way, it can find the event handler.

  • Re: hi by puting the contreols in table for click event handling in web parts

    08-13-2007, 2:42 AM
    • Member
      21 point Member
    • mrajeshbabu
    • Member since 08-01-2007, 1:15 AM
    • Posts 35

    hi thanks

    i found that

Page 1 of 1 (3 items)