SharePoint / ASP.Net Development
Experiences from the field
Navigation
   RSS 2.0
Categories
Entries by Month

# Monday, March 29, 2004

As I'm working thru my WebPart development, I occasionally received an error: Object Reference not set to an instance of an object.

Turns out that the order of events in the WebPart class are slightly different when the tool part is being displayed:

“Regular“ mode “ToolPane“ mode
New New
On Init On Init
On Load CreateChildControls
CreateChildControls On Load
GetToolParts
On PreRender On PreRender
RenderWebPart RenderWebPart

Monday, March 29, 2004 4:06:14 PM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 
Search

Powered by: newtelligence dasBlog 2.2.8279.16125

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010, Paul Schaeflein

Send mail to the author(s) E-mail