Search code examples
c#eventsevent-handlingvisual-web-developer

Visual Web Developer Drop Down Menu for Table Cell


I have created a web page that displays a table. Most of the cells of the table are already filled in but some of them require user input. I was wondering if there is some way to associate an onClick event with these data cells that displays a drop down list of the possible entries for the cell. I have Googled and Googled but I haven't come up with anything. So I'm not even sure this is possible.

Any advice is appreciated.

Regards.


Solution

  • This problem was solved by putting placeholders within spans and then replacing the innerHTML:

    <span id="s2" runat="server"><asp:PlaceHolder ID="p2" runat="server"></asp:PlaceHolder></span>