Click here to Skip to main content
15,921,837 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDoes event execution depends on Internet connection Pin
www.Developerof.NET28-May-08 23:22
www.Developerof.NET28-May-08 23:22 
AnswerRe: Does event execution depends on Internet connection Pin
Sajid A.28-May-08 23:41
Sajid A.28-May-08 23:41 
GeneralRe: Does event execution depends on Internet connection Pin
www.Developerof.NET29-May-08 0:25
www.Developerof.NET29-May-08 0:25 
Questionsession end automatic when delete folder in asp.net 2.0 Pin
trilokharry28-May-08 23:14
trilokharry28-May-08 23:14 
AnswerRe: session end automatic when delete folder in asp.net 2.0 Pin
Sajid A.28-May-08 23:44
Sajid A.28-May-08 23:44 
GeneralRe: session end automatic when delete folder in asp.net 2.0 Pin
trilokharry29-May-08 0:06
trilokharry29-May-08 0:06 
Questionform authentication Pin
srinandan..28-May-08 23:13
srinandan..28-May-08 23:13 
AnswerRe: form authentication Pin
Sajid A.28-May-08 23:32
Sajid A.28-May-08 23:32 
Hi Dear,

I am just suggesting you, not to make two login page, if you have such type of requirement then make two master pages(set user controls and menus accordingly) and in runtime try to change the master page accoring to user type (Dealer , Producer).

Sample code is just for yr reference

Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit

If userType = "Dealer" Then
Me.MasterPageFile = "Dealer.master"
Else
'Default for for Producer
Me.MasterPageFile = "Producer.master"
End If
End Sub


You can only change master page in Page_PreInit Event.

Cheers Roll eyes | :rolleyes:

Sajid A.

AnswerRe: form authentication Pin
eyeseetee28-May-08 23:45
eyeseetee28-May-08 23:45 
Question[Message Deleted] Pin
venkat000928-May-08 23:04
venkat000928-May-08 23:04 
Answer[Duplicate Post. Ignore it] Re: Hi Matrimonial site required... Pin
Vasudevan Deepak Kumar28-May-08 23:07
Vasudevan Deepak Kumar28-May-08 23:07 
QuestionHi .... Pin
venkat000928-May-08 23:02
venkat000928-May-08 23:02 
AnswerRe: Hi .... Pin
Vasudevan Deepak Kumar28-May-08 23:07
Vasudevan Deepak Kumar28-May-08 23:07 
AnswerRe: Hi .... Pin
eyeseetee28-May-08 23:10
eyeseetee28-May-08 23:10 
JokeRe: Hi .... Pin
Vasudevan Deepak Kumar28-May-08 23:11
Vasudevan Deepak Kumar28-May-08 23:11 
QuestionRandom Images Generation for prevent spam registration. Pin
Virendrak28-May-08 22:48
Virendrak28-May-08 22:48 
AnswerRe: Random Images Generation for prevent spam registration. Pin
Simon P Stevens28-May-08 23:45
Simon P Stevens28-May-08 23:45 
Questionhosting webapplication Pin
madhavi.kona28-May-08 22:07
madhavi.kona28-May-08 22:07 
AnswerRe: hosting webapplication Pin
eyeseetee28-May-08 22:20
eyeseetee28-May-08 22:20 
GeneralRe: hosting webapplication Pin
Abhijit Jana28-May-08 22:41
professionalAbhijit Jana28-May-08 22:41 
AnswerRe: hosting webapplication Pin
Abhijit Jana28-May-08 22:35
professionalAbhijit Jana28-May-08 22:35 
GeneralRe: hosting webapplication Pin
madhavi.kona29-May-08 0:00
madhavi.kona29-May-08 0:00 
GeneralRe: hosting webapplication Pin
eyeseetee29-May-08 0:16
eyeseetee29-May-08 0:16 
AnswerRe: hosting webapplication Pin
Sam Xavier28-May-08 22:38
Sam Xavier28-May-08 22:38 
Questionexport datagrid to pdf without using crystal report Pin
saravanan0528-May-08 21:52
saravanan0528-May-08 21:52 

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.