Hi, I have User Controls (.ascx) file and when I place it inside a ListView Edit Template it throws a NullRefreche error (Object reference not set to an instance of an object). Can anyone tell me why? Is it because of a late binding?
A:
Okay I found the error. It was a "User Error". lol The Paramter MemerbId pass was null. So I changed the Property public int MemberId{set;get;} to public int? MemberId{set;get;}. That fixed the issue.
Thanks
Shuaib
2009-11-01 23:51:55