Hello there.
I have an asp.net (C#) page utilising the ModalPopupExten der. All is working fine except I have two buttons on the panel (along with a DropDownList of results) that is displayed and if either button is selected, then this has the effect of the "OkControlI d" button being selected.
In the ModalPopup tag I have the OkButtonControl Id set to "btnSelecte d" but the popup panel also has a button called "btnSearch" .
It is this second button that causes the popup to be terminated. If I invoke the popup again, I can see the dropdownlist is populated correctly and can then select an item and select the OK button.
I have looked at several options for this, such as the UseSubmitBehavi or attribute for the button (btnSearch) but still the popup is being dismissed too early.
Any ideas where I am going wrong please?
Thank you.
M :o)
I have an asp.net (C#) page utilising the ModalPopupExten der. All is working fine except I have two buttons on the panel (along with a DropDownList of results) that is displayed and if either button is selected, then this has the effect of the "OkControlI d" button being selected.
In the ModalPopup tag I have the OkButtonControl Id set to "btnSelecte d" but the popup panel also has a button called "btnSearch" .
It is this second button that causes the popup to be terminated. If I invoke the popup again, I can see the dropdownlist is populated correctly and can then select an item and select the OK button.
I have looked at several options for this, such as the UseSubmitBehavi or attribute for the button (btnSearch) but still the popup is being dismissed too early.
Any ideas where I am going wrong please?
Thank you.
M :o)
Comment