Re: Page Members not initialized
- From: "George Ter-Saakov" <gt-nsp@xxxxxxxxxxx>
- Date: Fri, 4 Apr 2008 11:53:48 -0400
Sorry but you will have to rephrase...
I can not make sence out of folowing statements that almost contradict each
other
1.
"When start the project in debug mode I can see that all
members and fields of the page like Master and so on are all nothing"
2.
Now the weird thing: When I make a breakpoint (in my case in preinit)
all instances of the page are created fine and the page is loaded :/
In case #1 how do you see all members and fields if you did not set
breakpoint? Page object initializes only when called (via browser) and
disposed immediatelly once HTML is rendered.
Hence you need to break somewere between those 2 events to see all members
and fields.
So pretty much behavior is expected given you can explain what you mean by
"I can see that all members and fields of the page ..." in #1...
George.
<kreissl@xxxxxxxxx> wrote in message
news:52a09f00-711f-492a-9f4a-cd8276954984@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
i am really confused. I am working on a ASP.NET project. Language VB,
Framework 3.5. I want to describe the behavior:
Calling a page (including datagrid and a userctrl) I get zero pointer
exceptions. When start the project in debug mode I can see that all
members and fields of the page like Master and so on are all nothing,
including that ones that cannot be zero / nothing!
Now the weird thing: When I make a breakpoint (in my case in preinit)
all instances of the page are created fine and the page is loaded :/
Does anybody has heard of that problem? And I tried long to figure it
out, but the strange thing is that I did not work on that part of the
project. It was like from one day to the other day that that error
appeared. And its the same in release version. Also the designer shows
the page without errors and the partial designer class looks fine
too.
thanks for all hints,
Holger
.
- Follow-Ups:
- Re: Page Members not initialized
- From: kreissl
- Re: Page Members not initialized
- References:
- Page Members not initialized
- From: kreissl
- Page Members not initialized
- Prev by Date: Re: Using the cryptography enterprise library application block
- Next by Date: Re: Page Members not initialized
- Previous by thread: Page Members not initialized
- Next by thread: Re: Page Members not initialized
- Index(es):
Relevant Pages
|