Blog Stats
  • Posts - 178
  • Articles - 0
  • Comments - 139
  • Trackbacks - 172

 

Multi-Level IBS Tabs

I kept reading about the difficulties of adding a second layer of tabs for IBuySpy but it really isn't that difficult. Here is the overview:

  1. Add a ParentId field to tabs.
  2. Set all top level tabs' ParentId to 0.
  3. Set all child tabs to the corresponding TabId of it's parent.
  4. Load the tabs with the ParentId=0 into one datatable.
  5. Load the tabs with the ParentId>0 into another datatable.
  6. Create a datarelation from the parent table to the child table.
  7. Load the tabs as appropriate.

I will post the code later this week as I am still playing around with placement and security. And, the TRIAD.NET portal is much more robust than IBuySpy and a little more difficult to implement.


Feedback

No comments posted yet.


Post a comment





 

 

 

Copyright © Jason Bentley