I have a WebTab with tabs designated as ContentUrl="foo1.aspx", ContentUrl="foo2.aspx", etc. How do I keep the website user from navigating directly to those pages without going through the WebTab control? For example, not allow www.example.com/foo1.aspx but if they did land on that page without it being contained in a WebTab, redirect them to the proper tab with the requested content displayed?
Elegant solution! Thanks!!
Hi KapAltDev,
I am attaching a sample implementing your scenario. If the users try to load for example Default2.aspx they will be redirected to the page containing WebTab and the tab with corresponding ContentUrl will be selected. Have a look and let me know if you have any questions.