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); (Zatvorena) (Mono Support )

16132 put(a) pogledan, 3 odgovor(a) 22.12.2011. 2:44:15Kreirao(la) grant.stone007
grant-stone007

grant.stone007

22.12.2011. 2: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?
Ovaj sadržaj još nije ocijenjen. 
647 Reputacija 69 Ukupno objava
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.
Ovaj sadržaj još nije ocijenjen. 
647 Reputacija 69 Ukupno objava
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava