making an unneeded post back

Discussion in 'ASP .Net' started by =?Utf-8?B?S2VubnkgTS4=?=, Jan 25, 2005.

  1. hi

    I have a WebForm1 with a button to navigate using Response.Redirect
    ("myPage2",true) and I have notice that the Webform1 makes a complete
    PostBack before leave, and that is making my app more heavy, how can stop it
    because the postback of the Webform1 is unneeded

    any sugg?
    --
     
    =?Utf-8?B?S2VubnkgTS4=?=, Jan 25, 2005
    #1
    1. Advertisements

  2. Simply add a regular HTML hyperlink to your page.

    For example:
    <a href="http://SteveOrr.net">click me</a>

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://SteveOrr.net



    "Kenny M." <> wrote in message
    news:...
    > hi
    >
    > I have a WebForm1 with a button to navigate using Response.Redirect
    > ("myPage2",true) and I have notice that the Webform1 makes a complete
    > PostBack before leave, and that is making my app more heavy, how can stop
    > it
    > because the postback of the Webform1 is unneeded
    >
    > any sugg?
    > --
    >
     
    Steve C. Orr [MVP, MCSD], Jan 25, 2005
    #2
    1. Advertisements

  3. You can try this also

    <input type ="button" value="Do It!" onClick="location.href='urfile.htm';">
     
    =?Utf-8?B?Q2hpbm1heQ==?=, Jan 25, 2005
    #3
    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. Joby
    Replies:
    0
    Views:
    1,834
  2. Chris

    Responses not making it back

    Chris, Jul 7, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    402
    Chris
    Jul 7, 2005
  3. Replies:
    5
    Views:
    2,210
    Andrew Thompson
    Jan 12, 2005
  4. Mike C#
    Replies:
    14
    Views:
    703
    Mike C#
    Nov 17, 2006
  5. =?Utf-8?B?Z29yaWxsYQ==?=
    Replies:
    1
    Views:
    1,006
    Masudur
    May 25, 2007
  6. Julek
    Replies:
    2
    Views:
    394
    James Kanze
    Jun 30, 2008
  7. Jet Koten
    Replies:
    9
    Views:
    340
    Robert Klemme
    Feb 27, 2010
  8. David

    making a back button

    David, Aug 1, 2003, in forum: Javascript
    Replies:
    3
    Views:
    136
    Evertjan.
    Aug 3, 2003
Loading...