MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Can't find InitAlbumCovers(albums); (Closed) (Mono Support )

Viewed 15115 time(s), 3 post(s) 12/22/2011 2:44:15 AMby grant.stone007
grant-stone007

grant.stone007

12/22/2011 2:44:15 AM
In a related Topic (click here), some example code was given for a custom GetAlbums() method. IN the GetAlbums() methind a call is made to InitAlbumCovers(albums);

I am working on my own GetAlbums() method modeled after the sample code but I can seem to find a reference to method named InitAlbumCovers() anywhere in the MonoX API.

Can you help me locate it?
This content has not been rated yet. 
647 Reputation 69 Total posts
grant-stone007

grant.stone007

12/22/2011 1:09:48 PM
I realize now that this method probably only populated a snFile object into the albums collection. I achieved this same result by putting the following line of code in my custom lvItems_OnItemDataBound() method and it works.

album.AlbumCoverSnFile = AlbumRepository.GetInstance().GetAlbumCoverFile(album.Id);

Thank you and I will close this topic.
This content has not been rated yet. 
647 Reputation 69 Total posts
khorvat

khorvat

12/22/2011 3:15:52 PM
Ok, great to here that you solved the issue, our QA team is testing your other issues and we will get back to you soon,

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts