OK I came across the WEIRDEST thing ever!

OK I came across the WEIRDEST thing ever!

Old forum URL: forums.lhotka.net/forums/t/4438.aspx


AKaplan posted on Thursday, February 28, 2008

so i wrote up my BO with no problem... I went ahead and binded it to a simple detailsview, and it appears to be binding to the wrong BO... how is that possible? it is coming up with the wrong attributes to it. very weird... I've double and triple checked everything... and also made sure the BO wasn't being doubled up. how is this possible without anyerrors

cliffordru replied on Friday, February 29, 2008

Are you using a CslaDataSource as the source for your detailsview?  Are you setting the onselectobject event for the datasource?  Within the onselectobject event do you have code such as:

e.BusinessObject = MyObject.GetMyObject()

Regards,

Cliff

AKaplan replied on Friday, February 29, 2008

hey everything was set fine... for some reason i restart my computer today without any changes.. and the problem fixed itself.  tell me thats not another weird incident. i dont know maybe i've become delusional after all this programming... is it daylight out today?

Copyright (c) Marimer LLC