Click here to Skip to main content
15,911,039 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Exception handling in .NET Pin
Alois Kraus14-Jul-06 0:57
Alois Kraus14-Jul-06 0:57 
GeneralRe: Exception handling in .NET Pin
serious-sam14-Jul-06 4:14
serious-sam14-Jul-06 4:14 
GeneralRe: Exception handling in .NET [modified] Pin
Ray Cassick14-Jul-06 4:31
Ray Cassick14-Jul-06 4:31 
GeneralRe: Exception handling in .NET Pin
Alois Kraus15-Jul-06 1:51
Alois Kraus15-Jul-06 1:51 
AnswerRe: Exception handling in .NET Pin
Colin Angus Mackay14-Jul-06 1:02
Colin Angus Mackay14-Jul-06 1:02 
GeneralRe: Exception handling in .NET Pin
Jun Du14-Jul-06 5:21
Jun Du14-Jul-06 5:21 
AnswerRe: Exception handling in .NET Pin
Kevin McFarlane17-Jul-06 0:56
Kevin McFarlane17-Jul-06 0:56 
QuestionControlling visibility of controls in a single web form for two different user groups Pin
Renukapadhamanaban13-Jul-06 21:00
Renukapadhamanaban13-Jul-06 21:00 
Hi,

Iam new to .Net programming and this problem is keeping me ideal for last few days.

I like to read the Roles list from the configuration file for a particular form to control the visibility of the web controls.

My web.Config has authorisation like this:

<location path="iApprove/Doctor">
<system.web>
<authorization>
<allow roles="Doctor, ID Specialist, MHS - Guidance Doctor, MHS - Guidance Authorised Approver" />
<deny users="*"></deny>
</authorization>
</system.web>
</location>

But inside that locatiion i have many forms and in one form i need to make few fields invisible for roles Doctors alone.

How can i achieve this? if it is not possible by reading configuration file then please give me some other way of doing it.

Am using .Net 1.1.

I am looking forward some help.

Thanks
Renu

AnswerRe: Controlling visibility of controls in a single web form for two different user groups Pin
manish2414-Jul-06 1:18
manish2414-Jul-06 1:18 
GeneralRe: Controlling visibility of controls in a single web form for two different user groups Pin
Renukapadhamanaban16-Jul-06 14:10
Renukapadhamanaban16-Jul-06 14:10 
AnswerRe: Controlling visibility of controls in a single web form for two different user groups Pin
Jim Conigliaro17-Jul-06 1:58
Jim Conigliaro17-Jul-06 1:58 
QuestionSerial Port 2.0 to 1.1 backward compatibility Pin
Dominick O'Dierno13-Jul-06 6:39
Dominick O'Dierno13-Jul-06 6:39 
AnswerRe: Serial Port 2.0 to 1.1 backward compatibility Pin
Dan Neely13-Jul-06 7:01
Dan Neely13-Jul-06 7:01 
GeneralRe: Serial Port 2.0 to 1.1 backward compatibility Pin
Dominick O'Dierno13-Jul-06 7:20
Dominick O'Dierno13-Jul-06 7:20 
GeneralRe: Serial Port 2.0 to 1.1 backward compatibility Pin
Dan Neely13-Jul-06 8:41
Dan Neely13-Jul-06 8:41 
GeneralRe: Serial Port 2.0 to 1.1 backward compatibility Pin
Dominick O'Dierno13-Jul-06 8:47
Dominick O'Dierno13-Jul-06 8:47 
AnswerRe: Serial Port 2.0 to 1.1 backward compatibility Pin
Kurt _B17-Jul-06 10:06
Kurt _B17-Jul-06 10:06 
GeneralRe: Serial Port 2.0 to 1.1 backward compatibility Pin
Dan Neely17-Jul-06 10:23
Dan Neely17-Jul-06 10:23 
QuestionWeb Services in .NET CF Pin
archies_san13-Jul-06 5:31
archies_san13-Jul-06 5:31 
AnswerRe: Web Services in .NET CF Pin
Mike Dimmick14-Jul-06 4:59
Mike Dimmick14-Jul-06 4:59 
Question1421 Control ID not found Pin
mmhu13-Jul-06 3:30
mmhu13-Jul-06 3:30 
QuestionCovert project from .Net to Visual Studio 2005 Pin
HarishDixit13-Jul-06 0:23
HarishDixit13-Jul-06 0:23 
AnswerRe: Covert project from .Net to Visual Studio 2005 Pin
Mike Dimmick13-Jul-06 4:09
Mike Dimmick13-Jul-06 4:09 
QuestionMissing Tab Pages Titles Pin
Aldrich Caw12-Jul-06 21:31
Aldrich Caw12-Jul-06 21:31 
AnswerRe: Missing Tab Pages Titles Pin
alexey N12-Jul-06 22:38
alexey N12-Jul-06 22:38 

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.