Results 1 to 2 of 2

Thread: [2005] Modal form dropdownlist postback problem!!! Help!!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    27

    [2005] Modal form dropdownlist postback problem!!! Help!!

    i am using a javascript to popup a modal form as below

    window.showModalDialog('Default.aspx?main_model=' + main_model + '&main_serial=' + main_serial ,'','dialogHeight:450px; dialogWidth:500px; edge: Raised; status: Yes; scroll:no; resizable:no; center:yes; help:no;');

    the modal form has a dropdownlist in it, and when i set the autopostback= true, to handle the dropdown selectedindexchanged event, it pop up a new window instead of refresh on the modal form.......


    How can i solved that?

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Modal form dropdownlist postback problem!!! Help!!

    Set the <base target="_self">

    Better yet, find a way to do this without using a modal dialog, they're not designed to work this way. I don't see why you need a modal dialog box at all, maybe explain why you think you do.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width