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
    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. 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. Purvi T
    Replies:
    0
    Views:
    925
    Purvi T
    Oct 19, 2004
  2. Amy
    Replies:
    0
    Views:
    1,029
  3. Nathan Sokalski
    Replies:
    0
    Views:
    1,109
    Nathan Sokalski
    Jan 15, 2009
  4. MU
    Replies:
    0
    Views:
    583
  5. Andy B.
    Replies:
    0
    Views:
    923
    Andy B.
    Nov 25, 2009
Loading...

Share This Page