locked
Modal Popup closes with Cascading drop-down selection RRS feed

  • Question

  • User-737250826 posted

    I have a modal pop up defined on a page that uses a mater page architecture and have cascading dropdowns.

    The issue is that on selection of an item in a parent drop down may modal pop up closes due to a post back event of selected index change.

    On debugging, I found that the page pre render event is being triggered again.

    Please advise to fix this issue and keep the modal popup open with cascading drop down selections.

    Tuesday, November 25, 2014 12:27 AM

Answers

  • User61956409 posted

    Hi paras.m,

    Thanks for your post.

    Firstly, if Modal Popup show in web page, it will cover this page, how do you click Cascading drop-down and cause page post back?

    Secondly, we could trigger Modal Popup via code with the Show() method. So you could add below code in SelectedIndexChanged event to show Modal Popup.

    YourModalPopupExtender.Show();

    Hope it will be helpful to you.

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, November 26, 2014 1:14 AM
  • User555306248 posted

    Refer this - http://forums.asp.net/t/1422287.aspx#faq_v3_6_5

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 1, 2014 11:00 PM

All replies

  • User61956409 posted

    Hi paras.m,

    Thanks for your post.

    Firstly, if Modal Popup show in web page, it will cover this page, how do you click Cascading drop-down and cause page post back?

    Secondly, we could trigger Modal Popup via code with the Show() method. So you could add below code in SelectedIndexChanged event to show Modal Popup.

    YourModalPopupExtender.Show();

    Hope it will be helpful to you.

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, November 26, 2014 1:14 AM
  • User555306248 posted

    Refer this - http://forums.asp.net/t/1422287.aspx#faq_v3_6_5

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 1, 2014 11:00 PM