Click here to Skip to main content
15,908,675 members
Home / Discussions / ASP.NET
   

ASP.NET

 
JokeRe: INPUT file like INPUT folder HTML control Pin
Guffa30-Aug-06 3:16
Guffa30-Aug-06 3:16 
QuestionProblem in GridView Pin
Murtuza Husain Miyan Patel30-Aug-06 1:32
professionalMurtuza Husain Miyan Patel30-Aug-06 1:32 
AnswerRe: Problem in GridView Pin
immori30-Aug-06 2:49
immori30-Aug-06 2:49 
AnswerRe: Problem in GridView Pin
ToddHileHoffer30-Aug-06 2:49
ToddHileHoffer30-Aug-06 2:49 
QuestionMeta Tags Pin
kirthikirthi30-Aug-06 1:15
kirthikirthi30-Aug-06 1:15 
AnswerRe: Meta Tags Pin
CWIZO30-Aug-06 1:18
CWIZO30-Aug-06 1:18 
AnswerRe: Meta Tags Pin
_AK_30-Aug-06 1:34
_AK_30-Aug-06 1:34 
QuestionI can't see other pages from the same folder Pin
CWIZO30-Aug-06 0:49
CWIZO30-Aug-06 0:49 
I am trying to understand how all this referencing works in ASP.NET 2.0 but it seems that this is not written anywhere.

I have a ASP.NET 2.0 application. All the pages are in the root folder. All pages inherits from a class (BasePage) that is inside App_Code (this class inherits the Page class). I also have a MasterPage which all the pages use.

I don't understand why I can't access backend class of aspx page A from aspx page B. They are in the same namespace (all the stuff is in the same namespace) and in the same folder but I can't access it. I only see classes that are in the App_Code folder, the MasterPage and a control that I have registered in the aspx file.

And I can't "see" apsx pages from classes that are inside App_Code too. What's the deal here?
You could "see" other pages in ASP.NET 1.1 why can't I in 2.0?

I would really like to know this, because I would like to have a reference to a MasterPage from my PageBase class (inside App_Code) (if I move the MasterPage.master.cs file to App_Code the page still works but I can't reference controls that are on the MasterPage.master from MasterPage.master.cs).


--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!

AnswerRe: I can't see other pages from the same folder Pin
minhpc_bk30-Aug-06 1:30
minhpc_bk30-Aug-06 1:30 
GeneralRe: I can't see other pages from the same folder Pin
CWIZO30-Aug-06 1:38
CWIZO30-Aug-06 1:38 
GeneralRe: I can't see other pages from the same folder Pin
minhpc_bk30-Aug-06 15:03
minhpc_bk30-Aug-06 15:03 
Questiona connection with the server could not be estabilished' Pin
nishant barsainyan30-Aug-06 0:43
nishant barsainyan30-Aug-06 0:43 
AnswerRe: a connection with the server could not be estabilished' Pin
CWIZO30-Aug-06 1:03
CWIZO30-Aug-06 1:03 
QuestionCsharp Discussion Board needed Pin
Trance Junkie30-Aug-06 0:39
Trance Junkie30-Aug-06 0:39 
AnswerRe: Csharp Discussion Board needed Pin
Trance Junkie30-Aug-06 4:52
Trance Junkie30-Aug-06 4:52 
AnswerRe: Csharp Discussion Board needed Pin
minhpc_bk30-Aug-06 15:11
minhpc_bk30-Aug-06 15:11 
QuestionAjax.Ajax.Ajax Pin
coolshad29-Aug-06 23:54
coolshad29-Aug-06 23:54 
AnswerRe: Ajax.Ajax.Ajax Pin
CWIZO30-Aug-06 1:04
CWIZO30-Aug-06 1:04 
GeneralRe: Ajax.Ajax.Ajax Pin
coolshad30-Aug-06 5:41
coolshad30-Aug-06 5:41 
QuestionDataGrid in a Datalist for Master Detail Records Pin
deepaks329-Aug-06 23:40
deepaks329-Aug-06 23:40 
QuestionSQLdataAdapter does not update when DB contains empty fields Pin
ThomasLu29-Aug-06 23:25
ThomasLu29-Aug-06 23:25 
AnswerRe: SQLdataAdapter does not update when DB contains empty fields Pin
deepaks329-Aug-06 23:45
deepaks329-Aug-06 23:45 
GeneralRe: SQLdataAdapter does not update when DB contains empty fields Pin
ThomasLu30-Aug-06 1:08
ThomasLu30-Aug-06 1:08 
Questioncalling DB2 stored procedure using asp.net Pin
playout29-Aug-06 22:14
playout29-Aug-06 22:14 
Questionhow to synchronize dropdownlists Pin
Kissy1629-Aug-06 22:00
Kissy1629-Aug-06 22:00 

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.