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. Advertising

  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. Advertising

  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. 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. Joby
    Replies:
    0
    Views:
    1,646
  2. Replies:
    5
    Views:
    1,896
    Andrew Thompson
    Jan 12, 2005
  3. =?Utf-8?B?Z29yaWxsYQ==?=
    Replies:
    1
    Views:
    796
    Masudur
    May 25, 2007
  4. Julek
    Replies:
    2
    Views:
    321
    James Kanze
    Jun 30, 2008
  5. Jet Koten
    Replies:
    9
    Views:
    187
    Robert Klemme
    Feb 27, 2010
Loading...

Share This Page