On a user control, I have a dropdown list (ddlCriteria), a listbox, a modal popup (mpeCriteria) that has a checkbox list (chkCriteria), and a dropdown list that filters (ddlFilterCriteria) the checkbox list. I have added this user control twice on the main aspx page.
The page loads with two user controls having two different criteria. A user can decide to select criteria by choosing the selection option from ddlCriteria, which opens the modal popup. From the modal popup, the user can use ddlFilterCriteria to choose a specific criteria or browse through chkCriteria. After choosing criteria and clicking on the submit button, ddlCriteria is set to invisible and the listbox appears with the chosen criteria.
The issue is that when the user chooses to use ddlFilterCriteria and select a criteria, after clicking the submit button, ddlCriteria on the second usercontrol is hidden/invisible. However, if the user chooses criteria from chkCriteria and then clicks submit, then ddlCriteria in the second user control doesn't become hidden/invisible.
Any suggestions on how to resolve this? Thanks.
The page loads with two user controls having two different criteria. A user can decide to select criteria by choosing the selection option from ddlCriteria, which opens the modal popup. From the modal popup, the user can use ddlFilterCriteria to choose a specific criteria or browse through chkCriteria. After choosing criteria and clicking on the submit button, ddlCriteria is set to invisible and the listbox appears with the chosen criteria.
The issue is that when the user chooses to use ddlFilterCriteria and select a criteria, after clicking the submit button, ddlCriteria on the second usercontrol is hidden/invisible. However, if the user chooses criteria from chkCriteria and then clicks submit, then ddlCriteria in the second user control doesn't become hidden/invisible.
Any suggestions on how to resolve this? Thanks.