Click here to Skip to main content
16,008,183 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to use Class in ASP.NET (C#)? Pin
Arora_Shweta21-Oct-07 19:27
Arora_Shweta21-Oct-07 19:27 
AnswerRe: How to use Class in ASP.NET (C#)? Pin
Spunky Coder21-Oct-07 19:29
Spunky Coder21-Oct-07 19:29 
AnswerRe: How to use Class in ASP.NET (C#)? Pin
Bino B21-Oct-07 19:48
Bino B21-Oct-07 19:48 
AnswerRe: How to use Class in ASP.NET (C#)? Pin
Sandeep Akhare22-Oct-07 21:48
Sandeep Akhare22-Oct-07 21:48 
QuestionEncrypting TheUser Pin
SreejithAchutan21-Oct-07 19:12
SreejithAchutan21-Oct-07 19:12 
AnswerRe: Encrypting TheUser Pin
Bino B21-Oct-07 19:52
Bino B21-Oct-07 19:52 
Questionit doesnt display anything from anyother system [modified] Pin
asifbhura21-Oct-07 19:01
asifbhura21-Oct-07 19:01 
QuestionUser based Tabs Format..., Pin
Member 387988121-Oct-07 18:54
Member 387988121-Oct-07 18:54 
Hi the follwoing code i used for my user control tab events...,

See in that code,i have said the tabs and its subtabs and its url refer sites...,

Now my quest is...,
I like to view the tabs based on the user entry...,

It means i have 2 tables in one table i have said the userid,pagenum..,
Another table i said pagenumber,pagename & pageurl...,
Now using the following code how to display the tabs,sub tabs and its url instead of display static how to dispaly dynamic(based on userid)??????,...
Plz help me,
My static code follows here :

'Adding here main tabs
Dim _Text As ArrayList = New ArrayList
_Text.Add("Admin")
_Text.Add("Guest")

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

'Adding here Sub tabs for that Admin (main) tab
_Text = New ArrayList
_Text.Add("Admin User Login")
_Text.Add("Admin Default Page")
_SubTabText.Add(0, _Text)
'Adding here Sub tabs for that Guest (main) tab
_Text = New ArrayList
_Text.Add("microsoft")
_Text.Add("oracle")
_SubTabText.Add(1, _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)

'Assigning links for that sub tabs
Dim TabPos As Integer = e.TabPosition
Dim SubPos As Integer = e.SubTabPosition
Select Case (TabPos)
Case 0
If (SubPos = 0) Then
src = "Admin1.aspx"
End If
If (SubPos = 1) Then
src = "Admin2.aspx"
End If

Case 1
If (SubPos = 0) Then
src = "Guest1.aspx"
End If
If (SubPos = 1) Then
src = "Guest2.aspx"
End If
End Select
Session("src") = src
End Sub


Regards,
Magi

QuestionASP .NET 2.0 Login Control Pin
kenexcelon21-Oct-07 14:25
kenexcelon21-Oct-07 14:25 
AnswerRe: ASP .NET 2.0 Login Control Pin
MoustafaS21-Oct-07 14:35
MoustafaS21-Oct-07 14:35 
QuestionA very weird behaviour of Sql Membership Provider! Pin
Dr Odin Nordic21-Oct-07 10:36
Dr Odin Nordic21-Oct-07 10:36 
QuestionWhich database? Pin
Sam Heller21-Oct-07 10:04
Sam Heller21-Oct-07 10:04 
AnswerRe: Which database? Pin
Christian Graus21-Oct-07 11:46
protectorChristian Graus21-Oct-07 11:46 
GeneralRe: Which database? Pin
Sam Heller21-Oct-07 22:22
Sam Heller21-Oct-07 22:22 
Questionhelp in my project Pin
cool_neha21-Oct-07 8:27
cool_neha21-Oct-07 8:27 
AnswerRe: help in my project Pin
Christian Graus21-Oct-07 11:51
protectorChristian Graus21-Oct-07 11:51 
GeneralRe: help in my project Pin
cool_neha21-Oct-07 21:48
cool_neha21-Oct-07 21:48 
AnswerRe: help in my project Pin
Bino B21-Oct-07 19:57
Bino B21-Oct-07 19:57 
GeneralRe: help in my project Pin
cool_neha21-Oct-07 21:54
cool_neha21-Oct-07 21:54 
QuestionRedirectly Form Using Timer Urgently need help Pin
HatakeKaKaShi21-Oct-07 4:33
HatakeKaKaShi21-Oct-07 4:33 
AnswerRe: Redirectly Form Using Timer Urgently need help Pin
Bassam Saoud21-Oct-07 8:59
Bassam Saoud21-Oct-07 8:59 
AnswerRe: Redirectly Form Using Timer Urgently need help Pin
Christian Graus21-Oct-07 11:56
protectorChristian Graus21-Oct-07 11:56 
QuestionGridView add Button Pin
Muhammad Nauman Yousuf21-Oct-07 2:27
Muhammad Nauman Yousuf21-Oct-07 2:27 
AnswerRe: GridView add Button Pin
Bino B21-Oct-07 19:58
Bino B21-Oct-07 19:58 
QuestionLooking for advice Pin
Ahmad Adnan20-Oct-07 23:20
Ahmad Adnan20-Oct-07 23:20 

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.