Click here to Skip to main content
16,014,591 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Oh No! Pin
Guffa22-Oct-07 0:09
Guffa22-Oct-07 0:09 
AnswerRe: Oh No! Pin
CPallini22-Oct-07 0:15
mveCPallini22-Oct-07 0:15 
AnswerRe: [Message Deleted] Pin
Colin Angus Mackay22-Oct-07 7:46
Colin Angus Mackay22-Oct-07 7:46 
QuestionThanks To Dave And Others who helped me Pin
VB 8.021-Oct-07 19:20
VB 8.021-Oct-07 19:20 
QuestionUser based Tabs Format..., Pin
Member 387988121-Oct-07 18:57
Member 387988121-Oct-07 18:57 
AnswerRe: User based Tabs Format..., Pin
Tom Deketelaere21-Oct-07 22:20
professionalTom Deketelaere21-Oct-07 22:20 
GeneralRe: User based Tabs Format..., Pin
Member 387988122-Oct-07 17:40
Member 387988122-Oct-07 17:40 
GeneralRe: User based Tabs Format..., Pin
Tom Deketelaere22-Oct-07 22:24
professionalTom Deketelaere22-Oct-07 22:24 
in that case the following might be better (I am asuming you have a db with the users in it):

Dim ts As JQD.TabStrip = CType(Me.FindControl("TabStrip1"), JQD.TabStrip)
ts.TabText = _Text
Dim _SubTabText As Hashtable = New Hashtable

_Text = New ArrayList
_Text = New ArrayList
_Text.Add("microsoft --> from db")
_Text.Add("oracle --> from db")
_SubTabText.Add(0, _Text)

ts.SubTabTextCol = _SubTabText
AddHandler ts.SelectionChanged, AddressOf Me.ts_SelectionChanged

Private Sub ts_SelectionChanged(ByVal sender As Object, ByVal e As JQD.TabStrip.SelectionChangedEventArgs)

Dim TabPos As Integer = e.TabPosition
Dim SubPos As Integer = e.SubTabPosition

src = e.tag
Session("src") = src


in plain english (since the above might not be entirly correct) you have the login from the user
so now you create a tabstrip with that login as base.
With that login you can retrieve from the database what the default page is and assign it.
after that you can retrieve all the pages this user has, for each page you create a new tab and (very important) in the tag property (if this exists in asp if not you will have to find another way to pass the page) put the page that needs to be displayed .
then in you're handler class you can simply retrieve the source from this tag property (sender.tag (you might need to cast the sender object to a tabstrip before you get its property's)) and assign it to the session

I hope this helps
if it doesn't help can you paint me a mental picture of how you want this all to look since right now I'm not shure if I have it right and ASP is far from my speciality so I don't know all the controls.

If my help was helpfull let me know, if not let me know why.

The only way we learn is by making mistakes.

Questionbeginner here. Pin
bjk8821-Oct-07 13:11
bjk8821-Oct-07 13:11 
AnswerRe: beginner here. Pin
Colin Angus Mackay21-Oct-07 13:23
Colin Angus Mackay21-Oct-07 13:23 
GeneralRe: beginner here. Pin
bjk8821-Oct-07 13:28
bjk8821-Oct-07 13:28 
GeneralRe: beginner here. Pin
Colin Angus Mackay21-Oct-07 13:33
Colin Angus Mackay21-Oct-07 13:33 
GeneralRe: beginner here. Pin
bjk8821-Oct-07 13:42
bjk8821-Oct-07 13:42 
GeneralRe: beginner here. Pin
Colin Angus Mackay21-Oct-07 13:50
Colin Angus Mackay21-Oct-07 13:50 
GeneralRe: beginner here. Pin
bjk8821-Oct-07 13:58
bjk8821-Oct-07 13:58 
AnswerRe: beginner here. Pin
Guffa21-Oct-07 22:35
Guffa21-Oct-07 22:35 
GeneralRe: beginner here. Pin
bjk8821-Oct-07 22:48
bjk8821-Oct-07 22:48 
GeneralRe: beginner here. Pin
Guffa21-Oct-07 23:01
Guffa21-Oct-07 23:01 
GeneralRe: beginner here. Pin
bjk8821-Oct-07 23:12
bjk8821-Oct-07 23:12 
GeneralRe: beginner here. Pin
Guffa21-Oct-07 23:48
Guffa21-Oct-07 23:48 
GeneralRe: beginner here. Pin
bjk8822-Oct-07 0:04
bjk8822-Oct-07 0:04 
AnswerRe: beginner here. Pin
Guffa22-Oct-07 0:11
Guffa22-Oct-07 0:11 
GeneralRe: beginner here. Pin
bjk8822-Oct-07 0:22
bjk8822-Oct-07 0:22 
GeneralRe: beginner here. Pin
bjk8822-Oct-07 0:44
bjk8822-Oct-07 0:44 
AnswerRe: beginner here. Pin
Guffa22-Oct-07 1:59
Guffa22-Oct-07 1:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.