Click here to Skip to main content
15,909,030 members
Home / Discussions / C#
   

C#

 
GeneralRe: IExtenderProvider Pin
mike montagne27-Feb-07 7:26
mike montagne27-Feb-07 7:26 
Scott Dorman wrote:
The fact that the Parent property is null at runtime is normal as far as I can tell. The other controls and extenders that I looked at also had the same problem. (I'm not 100% sure of this since it has been several days since I looked at that aspect of it, but I'm pretty sure that was the case.)


PS. None of us can be experts on everything, so the thought I pass along here must be declared to be no more than an educated assumption (based on all experience).

In every visual component design project I've seen or been involved in, null != Parent is obligatory to drawing. My thinking then is that your assumption is a dangerous one to build further work upon. In other words, you might very well waste considerable work before you find indeed that this assumption is wrong (which, without exception, is my experience).

I would absolutely get that Parent assigned, or expect the anomalous behavior you are describing. I mean... how can any process draw your label, if it doesn't even know what to draw it on?
GeneralRe: IExtenderProvider Pin
Scott Dorman27-Feb-07 7:58
professionalScott Dorman27-Feb-07 7:58 
GeneralRe: IExtenderProvider Pin
mike montagne27-Feb-07 8:09
mike montagne27-Feb-07 8:09 
GeneralRe: IExtenderProvider Pin
Scott Dorman27-Feb-07 8:11
professionalScott Dorman27-Feb-07 8:11 
GeneralRe: IExtenderProvider Pin
mike montagne27-Feb-07 8:22
mike montagne27-Feb-07 8:22 
GeneralABSTRACT ISSUES Pin
mike montagne27-Feb-07 7:56
mike montagne27-Feb-07 7:56 
AnswerRe: IExtenderProvider Pin
Pete O'Hanlon1-Mar-07 2:42
mvePete O'Hanlon1-Mar-07 2:42 
GeneralRe: IExtenderProvider Pin
Scott Dorman1-Mar-07 15:41
professionalScott Dorman1-Mar-07 15:41 
GeneralRe: IExtenderProvider Pin
Pete O'Hanlon1-Mar-07 22:39
mvePete O'Hanlon1-Mar-07 22:39 
GeneralRe: IExtenderProvider Pin
Scott Dorman2-Mar-07 5:25
professionalScott Dorman2-Mar-07 5:25 
QuestionReading A dataBase Smart Device C# Help Please Pin
BOND_JAMES26-Feb-07 3:33
BOND_JAMES26-Feb-07 3:33 
AnswerRe: Reading A dataBase Smart Device C# Help Please Pin
Judah Gabriel Himango26-Feb-07 13:38
sponsorJudah Gabriel Himango26-Feb-07 13:38 
GeneralRe: Reading A dataBase Smart Device C# Help Please Pin
BOND_JAMES26-Feb-07 23:23
BOND_JAMES26-Feb-07 23:23 
AnswerRe: Problem with error Pin
Stefan Troschuetz26-Feb-07 3:47
Stefan Troschuetz26-Feb-07 3:47 
GeneralRe: Problem with error Pin
Martin#26-Feb-07 5:14
Martin#26-Feb-07 5:14 
JokeRe: Problem with error Pin
Stefan Troschuetz26-Feb-07 6:25
Stefan Troschuetz26-Feb-07 6:25 
QuestionIComparer/IComparable Pin
Jim Warburton26-Feb-07 3:23
Jim Warburton26-Feb-07 3:23 
AnswerRe: IComparer/IComparable Pin
Scott Dorman26-Feb-07 4:23
professionalScott Dorman26-Feb-07 4:23 
AnswerRe: IComparer/IComparable Pin
mike montagne26-Feb-07 13:32
mike montagne26-Feb-07 13:32 
GeneralRe: IComparer/IComparable Pin
mike montagne26-Feb-07 13:34
mike montagne26-Feb-07 13:34 
QuestionHow to retrive data from two databases Pin
AR Reddy26-Feb-07 3:15
AR Reddy26-Feb-07 3:15 
AnswerRe: How to retrive data from two databases Pin
Colin Angus Mackay26-Feb-07 3:47
Colin Angus Mackay26-Feb-07 3:47 
AnswerRe: How to retrive data from two databases Pin
snorkie26-Feb-07 9:59
professionalsnorkie26-Feb-07 9:59 
GeneralRe: How to retrive data from two databases Pin
AR Reddy26-Feb-07 19:29
AR Reddy26-Feb-07 19:29 
GeneralRe: How to retrive data from two databases Pin
snorkie27-Feb-07 7:56
professionalsnorkie27-Feb-07 7:56 

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.