Last post Mar 09, 2015 04:00 AM by Kevin Shen - MSFT
Mar 06, 2015 11:18 AM|jblennon|LINK
I have tab container that has a custom user control in each of its Tab Panels. The user control has a button. When the button is clicked some validates are performed on the the contents on the panel. If it fails validations an alert popup box is displayed.
The problem I am running into is the entire Tab Container disappears while the popup box is displayed. once the user selects OK the Tab container is visible again.
I have added update panels on the around the page, tabcontainer, user control, button etc. to no avail.
Does anyone have any idea what is going on here.
Note: The code that registers the alert script is in the page code behind that contains the user control. The page registers with the custom control for the button click event.
Any help is greatly appreciated.
Mar 06, 2015 12:40 PM|jblennon|LINK
I added a button outside of the TabContainer that registers an script Alert in its on even handler. With and update panel around the entire page. The only control that disappears when the popup alert box is visiable is the TabContainer. At this point
it looks like only the AJAX control is being refreshed. I am not sure why. Any suggestions are appreciated.
Mar 09, 2015 04:00 AM|Kevin Shen - MSFT|LINK
I suggest that you could try to set a breakpoint on your code to check if when you click the button.
check if your page has a postback to cause your tab container to disappear. and when you click ok,it will show again.