I was trying to get the "Databinding" tab control demo working that allows you to dynamically add and remove tabs, and I don't see how to set the content for the currently selected tab. This is what I would like to do.
I have a search button. When I press the search button, I want to be able to dynamically add content to the selected tab. The content should remain when the user switches tabs as well(I am assuming for this I just need to set the IsContentPerserved flag). I would like to be able to do this in the code-behind, as I am pulling data with entity framework to populate a user control, which I will then put in the selected tab. How would I do this? Thank you.
I have a search button. When I press the search button, I want to be able to dynamically add content to the selected tab. The content should remain when the user switches tabs as well(I am assuming for this I just need to set the IsContentPerserved flag). I would like to be able to do this in the code-behind, as I am pulling data with entity framework to populate a user control, which I will then put in the selected tab. How would I do this? Thank you.