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

  2. John

    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. 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. Leila
    Replies:
    0
    Views:
    408
    Leila
    Apr 26, 2005
  2. Matt
    Replies:
    1
    Views:
    3,149
    Whitecrest
    Jun 1, 2004
  3. Don
    Replies:
    0
    Views:
    354
  4. Junkone
    Replies:
    4
    Views:
    168
    Eric Hodel
    Jun 16, 2008
  5. Rod
    Replies:
    3
    Views:
    203
Loading...

Share This Page