If you add the tags runat="server" and id="some_value" the TD can be treated
as if it is a server side tag. Assigning a click is pretty straight-forward
from that point, as it will behave as any other server-side element will.
F Buchan
"Dave" <> wrote in message
news:C24E057A-D1FB-410D-8AD8-...
> If I want to have the form submit when a user clicks on table cell as
> follows
> on a menu something like..
>
> <td style="cursor:hand;"
> onmouseover="this.style.backgroundColor='white'"
> onmouseout="this.style.backgroundColor='blue'" id="ProductList"
> onclick="__doPostBack('ProductList', '')">View Product List</td>
>
> Is checking the _EVENTTARGET in the Page_Load the only way to determine
> that
> it was clicked?
>
> If Request.Form("__EVENTTARGET") = "'ProductList'" Then ...
>
> Or can I somehow wireup the an event?
>
> Thanks
|