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

ASP.NET

 
Questionpagename is ambiguous Pin
Mary Parkhouse31-Jan-07 8:02
Mary Parkhouse31-Jan-07 8:02 
AnswerRe: pagename is ambiguous Pin
ednrgc31-Jan-07 9:13
ednrgc31-Jan-07 9:13 
GeneralRe: pagename is ambiguous Pin
Mary Parkhouse1-Feb-07 2:58
Mary Parkhouse1-Feb-07 2:58 
AnswerRe: pagename is ambiguous Pin
minhpc_bk31-Jan-07 13:45
minhpc_bk31-Jan-07 13:45 
QuestionGrid problem Pin
shapper31-Jan-07 6:52
shapper31-Jan-07 6:52 
AnswerRe: Grid problem Pin
minhpc_bk31-Jan-07 13:43
minhpc_bk31-Jan-07 13:43 
GeneralRe: Grid problem Pin
shapper31-Jan-07 14:14
shapper31-Jan-07 14:14 
GeneralRe: Grid problem Pin
minhpc_bk31-Jan-07 14:25
minhpc_bk31-Jan-07 14:25 
Okay, now it's much clearer and I guess I know the reason Smile | :) . Here, it's clear that the tcCollaborator.DataItem("Name") object is null, and that throws the exception when you use the ToString method of the null object. The reason this object is null is that you are trying to get the data object bound to the container using the DataItem property, and basically it only has value after data is bound to the control, but here you put your code in the InstantiateIn method which occurs before the data binding happens. So you can use the DataBinding event of the lCollaborator object and put your code to query the data item and set the Text property in the event handler



GeneralRe: Grid problem Pin
shapper31-Jan-07 14:46
shapper31-Jan-07 14:46 
GeneralRe: Grid problem Pin
minhpc_bk31-Jan-07 14:53
minhpc_bk31-Jan-07 14:53 
GeneralRe: Grid problem Pin
shapper31-Jan-07 15:04
shapper31-Jan-07 15:04 
GeneralRe: Grid problem Pin
minhpc_bk31-Jan-07 15:19
minhpc_bk31-Jan-07 15:19 
Questionabt online examination system using asp.net Pin
hardik_7531-Jan-07 6:48
hardik_7531-Jan-07 6:48 
AnswerRe: abt online examination system using asp.net Pin
Christian Graus31-Jan-07 9:26
protectorChristian Graus31-Jan-07 9:26 
AnswerRe: abt online examination system using asp.net Pin
badgrs31-Jan-07 22:22
badgrs31-Jan-07 22:22 
Questionregarding array concept Pin
saravanan0531-Jan-07 6:38
saravanan0531-Jan-07 6:38 
AnswerRe: regarding array concept Pin
ednrgc31-Jan-07 6:45
ednrgc31-Jan-07 6:45 
AnswerRe: regarding array concept Pin
Venkatesh Mookkan31-Jan-07 15:45
Venkatesh Mookkan31-Jan-07 15:45 
QuestionNo Subject Pin
saravanan0531-Jan-07 6:35
saravanan0531-Jan-07 6:35 
QuestionVerify SSN-Names [modified] Pin
gvirden31-Jan-07 6:22
gvirden31-Jan-07 6:22 
AnswerRe: Verify SSN-Names Pin
ednrgc31-Jan-07 6:46
ednrgc31-Jan-07 6:46 
GeneralRe: Verify SSN-Names Pin
gvirden31-Jan-07 6:52
gvirden31-Jan-07 6:52 
GeneralRe: Verify SSN-Names Pin
ednrgc31-Jan-07 6:53
ednrgc31-Jan-07 6:53 
GeneralRe: Verify SSN-Names Pin
gvirden31-Jan-07 6:57
gvirden31-Jan-07 6:57 
GeneralRe: Verify SSN-Names Pin
ednrgc31-Jan-07 6:59
ednrgc31-Jan-07 6:59 

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.