generate dynamic client script to initiate postback + wire server event to it

S

sonic

I am working with a 3rd party control that does not follow the asp.net
event model. I would like to make it post to current page, and fire a
server side event.
I would like to mimic the behavior of GridView Link column, with a non
..net grid control.
the 3rd party grid supports a link column, but the only option there
is to enter the link href address. This does not fit very well with
asp.net model, and with my design, as i need to load other controls
with values based on the clicked rows primary key.


I know that i can generate a postback link using GetPostBackReference
method but I would like to also attach a server event to this click,
and make a primary key of the clicked row available to it.
Is this possible, and if so, how can i wire this event and pass the row
ID to it?
 

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

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top