really dumb question!!

Discussion in 'ASP .Net Web Controls' started by Rod, Mar 21, 2007.

  1. Rod

    Rod Guest

    I have a server side button that when clicked does stuff then if that stuff
    has worked out OK I want it to load another page.
    Somehow I can't figure out how to look this up.

    Sub myButton_Click

    do stuff

    if stuff_OK then
    Load new page somehow????
    endif

    end sub
    Rod, Mar 21, 2007
    #1
    1. Advertising

  2. Rod

    Scott M. Guest

    response.redirect("newpage.aspx")


    "Rod" <> wrote in message
    news:...
    >
    > I have a server side button that when clicked does stuff then if that
    > stuff has worked out OK I want it to load another page.
    > Somehow I can't figure out how to look this up.
    >
    > Sub myButton_Click
    >
    > do stuff
    >
    > if stuff_OK then
    > Load new page somehow????
    > endif
    >
    > end sub
    >
    Scott M., Mar 21, 2007
    #2
    1. Advertising

  3. Rod

    Rod Guest

    Thanks, new it had to be something simple.


    "Scott M." <> wrote in message
    news:O026u0$...
    > response.redirect("newpage.aspx")
    >
    >
    > "Rod" <> wrote in message
    > news:...
    >>
    >> I have a server side button that when clicked does stuff then if that
    >> stuff has worked out OK I want it to load another page.
    >> Somehow I can't figure out how to look this up.
    >>
    >> Sub myButton_Click
    >>
    >> do stuff
    >>
    >> if stuff_OK then
    >> Load new page somehow????
    >> endif
    >>
    >> end sub
    >>

    >
    >
    Rod, Mar 21, 2007
    #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. Eddie Clark
    Replies:
    5
    Views:
    2,971
    Mark Rae
    Oct 10, 2004
  2. Replies:
    1
    Views:
    256
    Mark A. Odell
    Jul 16, 2004
  3. Aryeh M. Friedman

    really dumb question

    Aryeh M. Friedman, Oct 29, 2007, in forum: Java
    Replies:
    6
    Views:
    343
    Sherman Pendley
    Oct 30, 2007
  4. MostlyH2O

    Really Dumb Hardware Question...

    MostlyH2O, Sep 10, 2003, in forum: ASP General
    Replies:
    3
    Views:
    134
    Chris Barber
    Sep 11, 2003
  5. Jerry C.
    Replies:
    8
    Views:
    229
    Uri Guttman
    Nov 23, 2003
Loading...

Share This Page