Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
AnswerRe: Convert PDF to text or html Pin
vaghelabhavesh5-Feb-09 8:05
vaghelabhavesh5-Feb-09 8:05 
GeneralRe: Convert PDF to text or html Pin
Johan Martensson5-Feb-09 8:26
Johan Martensson5-Feb-09 8:26 
QuestionSSIS, .net and C# Pin
mecca15-Feb-09 7:10
mecca15-Feb-09 7:10 
AnswerRe: SSIS, .net and C# Pin
aalex6755-Feb-09 7:41
aalex6755-Feb-09 7:41 
GeneralRe: SSIS, .net and C# Pin
mecca15-Feb-09 7:57
mecca15-Feb-09 7:57 
GeneralRe: SSIS, .net and C# Pin
aalex6755-Feb-09 8:00
aalex6755-Feb-09 8:00 
AnswerRe: SSIS, .net and C# Pin
Mbah Dhaim5-Feb-09 11:23
Mbah Dhaim5-Feb-09 11:23 
QuestionUnable to access control on a Master Page [.NET 3.5/ VS 2008] [modified] Pin
Alaric_5-Feb-09 7:00
professionalAlaric_5-Feb-09 7:00 
Hi guys. ...having a little bit of trouble here. Hopefully, it's just that I'm not viewing the correct file: but here's the problem:

(.NET Framework 3.5 / VS 2008)
I have to create an "Unauthorized Access" page within one of our systems. Site navigation is handled via a NavControl on the Master Page and all pages are linked into the Master Page. To keep layouts consistent, I need to also incorporate that Master Page into the new Unauth page, which means that the other components of the Master Page are supposed to remain visible, but the Navigation needs to be hidden from an unauthorized user, save for a nav button to "Login"

However, I am having trouble accessing the NavControl programmatically within the Page_Load of the Unauth page. To access the control, I need to provide the proper ordinal to the collection
base.Master.Controls[]

but, whenever I view the designer.cs, I cannot see the Control registration order, which would mean that the ordinal that I provide would simply be a stab in the
dark.
Does Anyone know how to get this?

Does Anyone know of another way to access the control?


Note: I was able to pull the control by introspecting the Controls collection in a Debug Watch, but accessing a control via ordinal seems very pedestrian - I'm looking for something that's a little more explicitly defined than trusting that ordinal 3 will always be my NavControl. Any help?

"I need build Skynet. Plz send code"

modified on Thursday, February 5, 2009 1:38 PM

Questionhow to chang visual attribute of TaskBars (or other controls) Pin
Tonixic5-Feb-09 6:07
Tonixic5-Feb-09 6:07 
AnswerRe: how to chang visual attribute of TaskBars (or other controls) Pin
EliottA5-Feb-09 6:12
EliottA5-Feb-09 6:12 
QuestionC# and Firewire? Pin
sky_fire845-Feb-09 6:00
sky_fire845-Feb-09 6:00 
QuestionSystem.Data.SqlClient.Sqlclientpermission,system,.........,publickey token='......' failed exception Pin
praveenvkumarv5-Feb-09 5:47
praveenvkumarv5-Feb-09 5:47 
AnswerRe: System.Data.SqlClient.Sqlclientpermission,system,.........,publickey token='......' failed exception Pin
musefan5-Feb-09 6:13
musefan5-Feb-09 6:13 
AnswerRe: System.Data.SqlClient.Sqlclientpermission,system,.........,publickey token='......' failed exception Pin
Wendelius5-Feb-09 6:25
mentorWendelius5-Feb-09 6:25 
GeneralRe: System.Data.SqlClient.Sqlclientpermission,system,.........,publickey token='......' failed exception Pin
praveenvkumarv5-Feb-09 15:32
praveenvkumarv5-Feb-09 15:32 
QuestionPraffic System Project Pin
Member 39168565-Feb-09 5:46
Member 39168565-Feb-09 5:46 
AnswerRe: Praffic System Project Pin
Rob Philpott5-Feb-09 5:48
Rob Philpott5-Feb-09 5:48 
GeneralRe: Praffic System Project Pin
Member 39168565-Feb-09 6:10
Member 39168565-Feb-09 6:10 
GeneralRe: Praffic System Project Pin
Member 39168565-Feb-09 6:11
Member 39168565-Feb-09 6:11 
GeneralRe: Praffic System Project Pin
Member 39168565-Feb-09 6:22
Member 39168565-Feb-09 6:22 
GeneralRe: Praffic System Project Pin
EliottA5-Feb-09 6:41
EliottA5-Feb-09 6:41 
GeneralRe: Praffic System Project Pin
Member 39168569-Feb-09 3:59
Member 39168569-Feb-09 3:59 
GeneralRe: Praffic System Project Pin
EliottA9-Feb-09 4:00
EliottA9-Feb-09 4:00 
GeneralRe: Praffic System Project Pin
Member 39168569-Feb-09 4:05
Member 39168569-Feb-09 4:05 
GeneralRe: Praffic System Project Pin
EliottA9-Feb-09 4:17
EliottA9-Feb-09 4:17 

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.