Click here to Skip to main content
15,888,590 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSame page, different access - use Sessions? Pin
Maxdd 711-Nov-09 9:28
Maxdd 711-Nov-09 9:28 
AnswerRe: Same page, different access - use Sessions? Pin
Christian Graus11-Nov-09 9:30
protectorChristian Graus11-Nov-09 9:30 
GeneralRe: Same page, different access - use Sessions? Pin
Maxdd 711-Nov-09 9:45
Maxdd 711-Nov-09 9:45 
GeneralRe: Same page, different access - use Sessions? Pin
Christian Graus11-Nov-09 9:49
protectorChristian Graus11-Nov-09 9:49 
GeneralRe: Same page, different access - use Sessions? Pin
Maxdd 711-Nov-09 9:55
Maxdd 711-Nov-09 9:55 
GeneralRe: Same page, different access - use Sessions? Pin
Christian Graus11-Nov-09 10:12
protectorChristian Graus11-Nov-09 10:12 
GeneralCode behind .aspx.cs Pin
David Mujica11-Nov-09 9:53
David Mujica11-Nov-09 9:53 
AnswerRe: Same page, different access - use Sessions? Pin
David Mujica11-Nov-09 9:34
David Mujica11-Nov-09 9:34 
If you are now developing an ASP.NET page, you can set the controls property, READONLY, to either true or false depending on the user's security.

For example:
If (user is admin) then
Me.Textbox1.Readonly = False
else
Me.Textbox1.Readonly = True
end if

The other thing you can do is group the fields on a page inside a "Panel" and set it's Visible property to True/False. This will effectively remove the fields from the page.

david
GeneralRe: Same page, different access - use Sessions? Pin
Maxdd 711-Nov-09 9:58
Maxdd 711-Nov-09 9:58 
GeneralRe: Same page, different access - use Sessions? Pin
Petr Pechovic11-Nov-09 10:14
professionalPetr Pechovic11-Nov-09 10:14 
GeneralRe: Same page, different access - use Sessions? Pin
Maxdd 711-Nov-09 16:28
Maxdd 711-Nov-09 16:28 
Question.txt to SQL (MS SQL Server) [modified] Pin
Maxdd 711-Nov-09 8:53
Maxdd 711-Nov-09 8:53 
AnswerRe: .txt to SQL (MS SQL Server) Pin
Christian Graus11-Nov-09 9:29
protectorChristian Graus11-Nov-09 9:29 
GeneralRe: .txt to tSQL (MS SQL Server) Pin
Maxdd 711-Nov-09 9:44
Maxdd 711-Nov-09 9:44 
GeneralRe: .txt to tSQL (MS SQL Server) Pin
Christian Graus11-Nov-09 9:49
protectorChristian Graus11-Nov-09 9:49 
GeneralRe: .txt to tSQL (MS SQL Server) Pin
Maxdd 711-Nov-09 9:56
Maxdd 711-Nov-09 9:56 
GeneralRe: .txt to tSQL (MS SQL Server) Pin
Christian Graus11-Nov-09 10:10
protectorChristian Graus11-Nov-09 10:10 
GeneralRe: .txt to tSQL (MS SQL Server) Pin
Maxdd 711-Nov-09 10:22
Maxdd 711-Nov-09 10:22 
GeneralRe: .txt to tSQL (MS SQL Server) Pin
Christian Graus11-Nov-09 11:18
protectorChristian Graus11-Nov-09 11:18 
GeneralRe: .txt to tSQL (MS SQL Server) Pin
Maxdd 711-Nov-09 11:36
Maxdd 711-Nov-09 11:36 
GeneralRe: .txt to tSQL (MS SQL Server) Pin
MidwestLimey11-Nov-09 11:39
professionalMidwestLimey11-Nov-09 11:39 
GeneralRe: .txt to tSQL (MS SQL Server) Pin
Maxdd 711-Nov-09 12:02
Maxdd 711-Nov-09 12:02 
GeneralRe: .txt to tSQL (MS SQL Server) Pin
Christian Graus11-Nov-09 11:40
protectorChristian Graus11-Nov-09 11:40 
GeneralRe: .txt to tSQL (MS SQL Server) Pin
Christian Graus11-Nov-09 9:52
protectorChristian Graus11-Nov-09 9:52 
Questionasp.net strange url problem? any ideas guys! Pin
wbjohnson11-Nov-09 8:50
wbjohnson11-Nov-09 8:50 

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.