I was semi successful in displaying Communication Preferences in Order Admin Default.aspx, but I run into a problem once the Search button is clicked... my UserControl with the communication preference data disappears.
I created a email list "Do not trade/share my information with other organizations" so the customer sees this under Communication Preferences when they checkout. In Order Admin under the Details link I add my usercontrol
Code: Select all
<uc:CommunicationPreferencesByUserSection ID="CommPref" runat="server" UserEmail='<%# GetUserEmail(Container.DataItem) %>' />
which gets and displays the email list checkbox (enabled=false so it's display only) it works great until you click the search button then it just goes away ... if you leave the page and come back to it the preferences are back again. I don't really want to add a redirect back to the same page when the search button is clicked, can anyone shed some light on what is happening and/or offer alternatives to redirect/refresh?