|
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
Sajid A.
|
|
|
|
|
Like the above post I agree
It would be better just to change the styles through the code rather then have to different login pages.
Then you can just use one tag in the web config file and just change the style depending on which user is logged in
We are not a Code Charity
|
|
|
|
|
|
|
Hi This is venkat here working as a s/w developer in bangalore,india. I am eager to develop a matrimonial site
using asp.net. If any body have experience in developing matrimonial sites, plz suggest me what are the considerations i need to take
before starting free matrimonial sites. if any queries send me to my mail: venkat.ramavath@gmail.com
Thanks in Advance,
venkat
rfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvgsdgvrfdsfgvrfdsfgvgsdgvrfdsfgvgsdgvrf
|
|
|
|
|
You ought to do the basic research of the matrimonial sites yourself. If you are expecting some one else do this for you then, it is not going to happen here.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Next time can you be more specific with your subject titles as well
We are not a Code Charity
|
|
|
|
|
See his sig. It is breaking the screen like anything.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Dear all ,
i need code for
Random Images Generation for prevent spam registration.
plz send.
thanx in advance.
Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...
|
|
|
|
|
It's called a "captcha". Google it.
Simon
|
|
|
|
|
Hi
i have one webapplication in .net2.0 in my local machine with
ipaddress "127.165.6.5 ".if i type "http://127.165.6.5/weapplication "
in the address bar of a browser i have to get my application what i need
to do?
Please help me.
madhavi.kona
|
|
|
|
|
So you want to access your application by typing in:
madhavi.kona wrote: http://127.165.6.5/weapplication
WHat happens when you try and access it?
You need to spell webapplication correctly for a start
We are not a Code Charity
|
|
|
|
|
.netman wrote: WHat happens when you try and access it?
Nothing will happed. First of all need to create a virtual Directory in IIS
|
|
|
|
|
For that you have to deploye it in IIS by creating VirtualDirectory
|
|
|
|
|
how to create virtual directory? and how to deploy in IIS.
madhavi.kona
|
|
|
|
|
http://www.google.co.uk/search?hl=en&q=create+virtual+directory+iis&btnG=Search&meta=
We are not a Code Charity
|
|
|
|
|
You need to publish your web application to IIS Server or any other hosting server.
After creating a virtual directory and mapping to the path of your web applicaiton, you should be able to view the said application in a browser...
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
hi friends
how to export datagrid to pdf without using crystal report
regards
saravanan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
http://www.google.co.uk/search?hl=en&q=export+datagrid+to+pdf+asp.net&btnG=Google+Search&meta=
We are not a Code Charity
|
|
|
|
|
i give one hyperlink when mouse over then link url is display in
status bar but i don't need to display link URL in status bar
please help me. ASP.net 2.0 with vb
|
|
|
|
|
Please give more detail and dont double post
We are not a Code Charity
|
|
|
|
|
i give one hyperlink when mouse over then link url is display in
status bar but i don't need to display link URL in status bar
please help me.
|
|
|
|
|
IGNORE
We are not a Code Charity
|
|
|
|
|
Hello!
I´ve tried using a captchacontrol from this article: [^]
When I run it locally everything works fine, but when I publish it onto our webserver I only get a image generated now and then. I feel kind of lost as how I should solve this issue, does anyone have an idea of wherein the problem could lie?
/regards
|
|
|
|
|
Try putting a post on the website you provided a url for.
When you say:
livez wrote: I only get a image generated now and then
Do you mean sometimes it works sometimes it doesnt
We are not a Code Charity
|
|
|
|