C
C.Batt
Long, annoying story:
I'm having trouble viewing the auto-generated code of an aspx web form.
There doesn't seem to be a "show all" (or "reveal all" or anything like
that) button in the solution explorer window. All I can see in the
solution explorer, for a web site type of project, are the normal .aspx
and .aspx.cs files (as well as standard things like .html, etc...).
If I open an aspx.cs file, I can't "go to definition" of the partial
class.
I've tried short cicuiting this by creating a simple <asp:label>
control. When I go into the aspx.cs file, the control pop-ups up in
intellisense and I can use it normally. So I know that it's being
defined _somewhere_.
If I highlight the name of the control, right click, and choose "go to
definition" I get a wonderful pop-up telling me that the definition is
hidden! (Gee wiz Microsoft, thanks for providing the helmet, but
sometimes I need to take it off to scratch my head!)
I get a similar result if I open the object browser and search for,
say, Login_aspx. The results pane shows 2 occurences, one in the
aspx.cs
file and another in the aspx page. If I select the aspx.cs reference,
it takes me to the file; if I select the aspx reference, it gives me
that wonderful "it's hidden!" pop-up.
I figure this has got to be a setting somewhere, I just don't know what
it is and I'm having trouble finding it.
Help?
(Thanks in advance)
I'm having trouble viewing the auto-generated code of an aspx web form.
There doesn't seem to be a "show all" (or "reveal all" or anything like
that) button in the solution explorer window. All I can see in the
solution explorer, for a web site type of project, are the normal .aspx
and .aspx.cs files (as well as standard things like .html, etc...).
If I open an aspx.cs file, I can't "go to definition" of the partial
class.
I've tried short cicuiting this by creating a simple <asp:label>
control. When I go into the aspx.cs file, the control pop-ups up in
intellisense and I can use it normally. So I know that it's being
defined _somewhere_.
If I highlight the name of the control, right click, and choose "go to
definition" I get a wonderful pop-up telling me that the definition is
hidden! (Gee wiz Microsoft, thanks for providing the helmet, but
sometimes I need to take it off to scratch my head!)
I get a similar result if I open the object browser and search for,
say, Login_aspx. The results pane shows 2 occurences, one in the
aspx.cs
file and another in the aspx page. If I select the aspx.cs reference,
it takes me to the file; if I select the aspx reference, it gives me
that wonderful "it's hidden!" pop-up.
I figure this has got to be a setting somewhere, I just don't know what
it is and I'm having trouble finding it.
Help?
(Thanks in advance)