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

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 (here). After that, you can post your question and our members will help you out.