My problem is in regards to calling a server-side event (e.g. DeleteClicked) from dynamically generated html/javascript on the client. I have an existing page on my website that is deeply rooted in .net. The page lifecycle is pretty complex and there are dozens of events that can be fired from the page.
We want to start taking advantage of some JQuery functionality and add additional links and buttons after the page has already loaded. For example, we would like to display a little hover-over graphics on certain images. The little hover-over graphics would provide functionality like delete, edit, etc. I would like to tie the click events on these client-side creations to server-side events without having to thrash (or bypass) the whole page lifecycle.
So far the only solution I can think of is to implant hidden asp.net controls throughout the page have the client-side code manually force a click() on the hidden control. Unfortunately I don't think this is acceptable as I won't necessarily know all of the events that may need to get called at the time I load the page. I'm also not a fan of sending down tons of markup to the client that isn't necessarily needed.
Does my question make sense? Any help would be greatly appreciated!