Auto fire button click event as page loads in asp.net

Discussion in '.NET' started by jamursch, Aug 23, 2012.

  1. jamursch

    jamursch

    Joined:
    Aug 23, 2012
    Messages:
    1
    Likes Received:
    0
    Hey,
    I'm trying to replicate what the VIEW button click event does for a document in our web app, but I want to do this when the page is loading based on a query string param.

    The way we usually handle views is to use:
    HttpContext.Current.Response.Redirect(GetAbsoluteURIofRequest(vstrWebPagePath), True)

    The issue I have is that when I try to add this into the mix, after it hits it you are never served up the web page, only the VIEWED document?

    Thanks, Jay
     
    jamursch, Aug 23, 2012
    #1
    1. Advertisements

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. Purvi T
    Replies:
    0
    Views:
    1,152
    Purvi T
    Oct 19, 2004
  2. Serdar Kalaycý

    asp button click event does not fire

    Serdar Kalaycý, Aug 12, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    4,682
    ashelley@inlandkwpp.com
    Aug 12, 2004
  3. Amy
    Replies:
    0
    Views:
    1,283
  4. Max2006
    Replies:
    2
    Views:
    1,834
    Walter Wang [MSFT]
    Sep 19, 2007
  5. MU
    Replies:
    0
    Views:
    736
  6. Andy B.
    Replies:
    0
    Views:
    1,154
    Andy B.
    Nov 25, 2009
  7. Rea Peleg

    asp button click event does not fire

    Rea Peleg, Aug 12, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    305
    David Alexander
    Aug 12, 2004
  8. dyw55a@yahoo.com
    Replies:
    0
    Views:
    499
    dyw55a@yahoo.com
    Jun 1, 2006
Loading...