you have to change the control to runat server, which will postback the
page, then the server responds with a redirect.
-- bruce (sqlwork.com)
> Hi,
>
> I have a number of HTML tables that are dynamically rendered from server side code. I've added an onClick event to the tables that fires a client
side function (jscript) to redirect the user to an appropriate page using
location.href.
> I need to capture this event some how on the server side so I can set a session variable to track the table onclick event that was raised.
>
> Does any one know how I can do this. I don't think I can set the session variable using jscript right? I'm guessing I need to hook up an event
handler on the server side for the onClick event but I don't know how to do
this.
> Thanks