I use Tabs in most of my pages and the normal behaviour is that when I select a row from a datagrid the form is refreshed with new records and the Tab control changes back to the initial Tab Item.
But the tab control on one page in my application does not change tab item back to the default. This is actually what I want for all my tabs but I can't see how I've managed to acheive this. I have not added any custom code that would account for it.
i use a datagrid to select a record and this is then used to populate a form which contains a tab control
By default the first tab is the one that is visible.
If i then select a differnt tab pag and then change the selected row in the datagrid the tab page changes back to the first one.
But for one of pages something is different and the selected tab persists when the row selected changes. I would like to know why this happens only on one of my tab controls. It is a desirable feature but I can't replicate it.
There is no way for us to know what is different in that page. I suggest comparing both pages and inspecting the generated code. We also don't know how you have implemented the selection and how you populate the tabs - this cannot be determined from the information provided so far or the screenshots.