Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
Preventing direct use of ContentUrl pages
posted

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?

Parents
No Data
Reply
  • 37874
    Verified Answer
    posted

    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.

    WebTabSample.zip
Children