Requirements |
|
RadControls version |
|
.NET version |
|
Visual Studio version |
|
programming language |
|
browser support |
all browsers supported by RadControls |
PROJECT DESCRIPTION
Hi, im new to Rad controls and im developing an app that implements your RadCarosel.
I was adding images / items to the carosel and it works great.The problem i have is, the carosel has a hold on the image which lock me out of modifying the image with another command
eg i have an array of posters that i assign to the carosel, i then have another function that will change the size of the image. Theres a lock/ handle holding the image in memory and i dont know how to dispose if it correctly. I thought it might have been eary to .dispose of all the images in the carosel and reload it when i have finished making changes but this has proved difficult!!
Vb.Net Code
RadCarousel1.VisibleItemCount = 7
Dim i As Integer = 0
While i < directorylist.Count
Try
Dim image2 As New RadImageItem
image2.Image =
Image.FromFile(directorylist(i) + "\folder.jpg")
RadCarousel1.Items.Add(image2)
Catch ex As Exception
End Try
Any ideas on how to assign an image to a carosel and then dispose of the image correctly when i need to?
Very limited threads on this control and the documentation is very vague!
Thanks for any help :)