simple table control

L

lukasz

I need a table with clickable cells, where clicking a cell executes
server-side code in an event handler, which in turns reloads the page,
keeping its state & view. I'd preferably solve it by simply generating HTML
code in the page's OnLoad; I can add javascript events for clicking cells:

<TD OnMouseDown="javascript:set(123)">...</TD>

but how to post an event from javascript to server??

I tried another attempt with creating own web control, but in its Render()
method I did same outputting of HTML table with javascript events, and again
I don't know how to link javascript code with my control's code. Anyone can
help?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,813
Messages
2,569,699
Members
45,489
Latest member
SwethaJ

Latest Threads

Top