Ask a Question related to ASP.NET General, Design and Development.
-
Jason Shohet #1
public var, but says Inaccessible due to protection level
I have a line:
public System.Web.UI.HtmlControls.HtmlTable bldgInfo;
Even though its public, for some reason every so often, .NET tells us that
bldgInfo table is inaccessible due to the protection level. Its an html
table -- but serverside. And it sits on a ascx (control).
When we try to access that table from somewhere else, we get that error.
Any ideas?
Jason Shohet
Jason Shohet Guest
-
Password protection on folder level
Hi, I have setup password protection on the folder the user is publishing in- the point is to protect his content so only people authorized by... -
Control Level 0 MC from Level 1 Button?
"haydenad" <haydenad@qis.net> wrote in message news:c0bfnh$ir1$1@forums.macromedia.com... level apply _level0.gotoAndPlay("Close"); hth -
Control Level 0 MC from Level 1 Button?
This is probably an easy question but how do I control a Movie loaded in level 0 (I want to change frames) from a button that is loaded in Level 1?... -
FH Help files inaccessible in Mac Help Viewer
Freehand MX comes with no printed manual so the online help files are crucial. In MacOSX 10.2 there is a help viewer that launches from the help menu... -
Encrypted files inaccessible after reinstalling OS
After reinstalling Windows XP Pro over a previous installation (same operating system) my important encrypted files containing account information... -
William F. Robertson, Jr. #2
Re: public var, but says Inaccessible due to protection level
Where are you trying to access it from? Are you trying to access it from
another page?
Why?
bill
" Jason Shohet" <ash477@hotmail.com> wrote in message
news:eB4sFc4VDHA.2032@TK2MSFTNGP11.phx.gbl...> I have a line:
>
> public System.Web.UI.HtmlControls.HtmlTable bldgInfo;
>
>
> Even though its public, for some reason every so often, .NET tells us that
> bldgInfo table is inaccessible due to the protection level. Its an html
> table -- but serverside. And it sits on a ascx (control).
>
> When we try to access that table from somewhere else, we get that error.
>
> Any ideas?
>
> Jason Shohet
>
>
William F. Robertson, Jr. Guest
-
Jason Shohet #3
Re: public var, but says Inaccessible due to protection level
Yes we're accessing it from another page. I figured out the problem, in
that page the control has to have public in front of its declaration. But
..NET keeps changing it back to protected for some reason, and then it
doesn't compile because the elements on that control are no longer
accessible.... I change it to public, but .NET likes to set it back ;)
Jason Shohet Guest



Reply With Quote

