Click here to Skip to main content
15,913,773 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: File or assembly name CrystalKeyCodeLib, or one of its dependencies, was not found. Pin
Shah Rizal17-Jan-12 22:11
Shah Rizal17-Jan-12 22:11 
Questionmobile AMF Pin
Rajeev_8715-Jan-12 5:52
Rajeev_8715-Jan-12 5:52 
QuestionIFrame padding Pin
Ali Al Omairi(Abu AlHassan)15-Jan-12 5:00
professionalAli Al Omairi(Abu AlHassan)15-Jan-12 5:00 
AnswerRe: IFrame padding Pin
Not Active15-Jan-12 7:23
mentorNot Active15-Jan-12 7:23 
GeneralRe: IFrame padding Pin
Ali Al Omairi(Abu AlHassan)16-Jan-12 3:35
professionalAli Al Omairi(Abu AlHassan)16-Jan-12 3:35 
AnswerRe: IFrame padding Pin
spkichara16-Jan-12 21:24
spkichara16-Jan-12 21:24 
QuestionHow to add Linking plugin to web site Pin
Rupeshcool0214-Jan-12 20:35
Rupeshcool0214-Jan-12 20:35 
QuestionRedirect to other page than specified by default Pin
Kujtim Hyseni12-Jan-12 23:42
Kujtim Hyseni12-Jan-12 23:42 
Hello,

in my app I heave three roles: "admin", "user" and "company". The user can heave only one role. I want that after checking the database redirect them to certain pages - more precisely their content panel. How to specify the page to redirect for each user when it is not contained in:



C#
FormsAuthentication.RedirectFromLoginPage(userName,createPersistantCookie);



or


C#
FormsAuthenticationUtil.RedirectFromLoginPage(userName,  commaSeperatedRoles, createPersistantCookie);



I know it is specified in web.config as default and it works for your site, but, the problem is that when I type in the URL to directly access the "admin"'s content panel (admin\default.aspx) and then try to login as "user" it does not directs me to the "user"'s content panel (user\default.aspx) but it remembers the "admin"'s one (admin\default.aspx) and redirects me to login.aspx which is NOT correct. The user exists and it should redirecting me to the default user's page.

What you suggest about this?
AnswerRe: Redirect to other page than specified by default Pin
jkirkerx13-Jan-12 10:39
professionaljkirkerx13-Jan-12 10:39 
QuestionUrl changes but page stays on the same page Pin
CodingYoshi12-Jan-12 4:46
CodingYoshi12-Jan-12 4:46 
AnswerRe: Url changes but page stays on the same page Pin
jkirkerx13-Jan-12 10:32
professionaljkirkerx13-Jan-12 10:32 
QuestionASP.NET MVC 3 Pin
CodingYoshi11-Jan-12 5:35
CodingYoshi11-Jan-12 5:35 
AnswerRe: ASP.NET MVC 3 Pin
jkirkerx13-Jan-12 10:22
professionaljkirkerx13-Jan-12 10:22 
QuestionExport to Excel Date Format for UK Pin
thowra11-Jan-12 0:09
thowra11-Jan-12 0:09 
AnswerRe: Export to Excel Date Format for UK Pin
thowra11-Jan-12 2:28
thowra11-Jan-12 2:28 
QuestionCompare two Template Fields of Gridview Pin
Rameez Raja9-Jan-12 21:36
Rameez Raja9-Jan-12 21:36 
AnswerRe: Compare two Template Fields of Gridview Pin
manognya kota9-Jan-12 22:40
manognya kota9-Jan-12 22:40 
AnswerRe: Compare two Template Fields of Gridview Pin
Karthik Harve9-Jan-12 22:43
professionalKarthik Harve9-Jan-12 22:43 
AnswerRe: Compare two Template Fields of Gridview Pin
jkirkerx13-Jan-12 10:46
professionaljkirkerx13-Jan-12 10:46 
Questionhow to display menu control like code project top navigation and left panel menu Pin
developerit9-Jan-12 20:47
developerit9-Jan-12 20:47 
AnswerRe: how to display menu control like code project top navigation and left panel menu Pin
David C# Hobbyist.10-Jan-12 3:07
professionalDavid C# Hobbyist.10-Jan-12 3:07 
AnswerRe: how to display menu control like code project top navigation and left panel menu Pin
anishkannan10-Jan-12 20:16
anishkannan10-Jan-12 20:16 
Questionwindow.location.replace Pin
Satish_S9-Jan-12 0:09
Satish_S9-Jan-12 0:09 
AnswerRe: window.location.replace Pin
jkirkerx9-Jan-12 9:24
professionaljkirkerx9-Jan-12 9:24 
GeneralRe: window.location.replace Pin
Satish_S9-Jan-12 23:45
Satish_S9-Jan-12 23:45 

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.