Timeline for After adding mapped Layout folder in Visual WebPart project showing null reference error in Sharepoint 2010
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:41 | history | edited | CommunityBot |
replaced http://sharepoint.stackexchange.com/ with https://sharepoint.stackexchange.com/
|
|
| Apr 19, 2016 at 5:31 | comment | added | Red Swan | Like On Drop down selection we may need to populate other components. But on page load I was getting direct IsPostBack "true" because of above explained reason. Hence it was checking for the Drop down selected value on page load itself in Else condition.. But since Drop down is still Null here or not filled It was showing Object Reference Null. How fool I was!!! Finger crossed.... ;). anyways Thanks for clarification. | |
| Apr 19, 2016 at 5:31 | comment | added | Red Swan | Thanks, Very helpful for the life cycle and initiation of WebPart in deployment environment. Specially when it is no clue about, we think why controls are misbehaving on loading of WebPart. This realized me to do not use control based conditions on page load itself. Those should be handled in respective events. | |
| Apr 18, 2016 at 12:59 | vote | accept | Red Swan | ||
| Apr 13, 2016 at 18:37 | history | answered | SPArcheon - on strike | CC BY-SA 3.0 |