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 16430 time(s), 3 post(s) 22.12.2011 02:44:15by grant.stone007
grant-stone007

grant.stone007

22.12.2011 02:44:15
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?
Dieser Inhalt wurde noch nicht bewertet. 
647 Reputation 69 Total posts
grant-stone007

grant.stone007

22.12.2011 13:09:48
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.
Dieser Inhalt wurde noch nicht bewertet. 
647 Reputation 69 Total posts
khorvat

khorvat

22.12.2011 15:15:52
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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts