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

Discussion in 'ASP .Net' started by sonic, Jun 26, 2006.

  1. sonic

    sonic Guest

    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?
    sonic, Jun 26, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jordan
    Replies:
    1
    Views:
    2,769
  2. Curt_C [MVP]

    Can server initiate update of client pages ?

    Curt_C [MVP], Aug 3, 2004, in forum: ASP .Net
    Replies:
    17
    Views:
    660
    Lucas Tam
    Aug 4, 2004
  3. Jeff Jarrell
    Replies:
    0
    Views:
    538
    Jeff Jarrell
    Oct 26, 2005
  4. =?Utf-8?B?Y2lu?=

    How to initiate a postback in a function?

    =?Utf-8?B?Y2lu?=, Nov 24, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    2,283
    Wouter van Vugt
    Nov 24, 2005
  5. Chu
    Replies:
    2
    Views:
    894
    Winista
    Apr 10, 2006
Loading...

Share This Page