Postback Not detected after showModalDialog is used

Discussion in 'ASP .Net' started by MikeB, Apr 6, 2004.

  1. MikeB

    MikeB Guest

    This post is not about postbacks opening a new window from a
    showModalDialog window.

    I am using a modal dialog to populate a textbox in my form. When the
    form is submitted the code behind logic runs as if it were not a
    postback. Page.IsPostback is set to false even though it clearly is a
    postback.

    If i manually fill in this textbox and submit the form, it behaves as
    expected. If i use a standard popup window and javascript to fill the
    textbox and submit the form, it behaves as expected. It is only when
    the modal dialog is used to fill the textbox that the postback is not
    recognized.

    Unfortunately for me, it is required that i use a modal dialog here.

    Has anyone else encountered this? Does anyone have a fix?
    MikeB, Apr 6, 2004
    #1
    1. Advertising

  2. MikeB

    xcasalsv

    Joined:
    Dec 30, 2011
    Messages:
    1
    Hi Mike,

    Could you please tell me how did you solve this problem? Thanks
    xcasalsv, Dec 30, 2011
    #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. Jinx
    Replies:
    1
    Views:
    9,297
    CodeLife
    Jan 21, 2008
  2. Henry Johnson

    window.showModalDialog and PostBack

    Henry Johnson, Jun 29, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    6,744
    andrei
    Jun 30, 2004
  3. Replies:
    1
    Views:
    8,047
    gnubslayer
    Jun 1, 2007
  4. Satya
    Replies:
    1
    Views:
    627
    Bruno Piovan
    Mar 27, 2007
  5. Jonathan
    Replies:
    0
    Views:
    177
    Jonathan
    Jul 19, 2004
Loading...

Share This Page