Preventing a modal dialog from doign a postback

Discussion in 'ASP .Net' started by John, Mar 17, 2005.

  1. John

    John Guest

    Hi all,

    I have a situation where I'm using a modal dialog to merely show the user
    some data. Once the user has finished, there is only one button to click to
    return to the previous (parent) page but a postback is done. The modal
    dialog is invoked from a linkbutton on the parent.

    How can I prevent this unnecessary postback?

    Regards
    John.
     
    John, Mar 17, 2005
    #1
    1. Advertisements

  2. Bruce Barker

    Bruce Barker Guest

    on the button

    <input type=button value = "close" onclick="window.close();return false;" >


    "John" <> wrote in message
    news:...
    > Hi all,
    >
    > I have a situation where I'm using a modal dialog to merely show the user
    > some data. Once the user has finished, there is only one button to click
    > to return to the previous (parent) page but a postback is done. The modal
    > dialog is invoked from a linkbutton on the parent.
    >
    > How can I prevent this unnecessary postback?
    >
    > Regards
    > John.
    >
     
    Bruce Barker, Mar 17, 2005
    #2
    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. Leila
    Replies:
    0
    Views:
    590
    Leila
    Apr 26, 2005
  2. Matt
    Replies:
    1
    Views:
    3,347
    Whitecrest
    Jun 1, 2004
  3. Don
    Replies:
    0
    Views:
    506
  4. Junkone
    Replies:
    4
    Views:
    322
    Eric Hodel
    Jun 16, 2008
  5. Matt
    Replies:
    0
    Views:
    363
  6. gopal srinivasan
    Replies:
    0
    Views:
    520
    gopal srinivasan
    Nov 5, 2004
  7. Rod
    Replies:
    3
    Views:
    298
  8. John Kotuby
    Replies:
    3
    Views:
    216
    John Kotuby
    May 4, 2007
Loading...