This is a migrated thread and some comments may be shown as answers.

Binding ImageGallery from code behind

2 Answers 68 Views
ImageGallery
This is a migrated thread and some comments may be shown as answers.
EssMus
Top achievements
Rank 1
EssMus asked on 02 Jun 2015, 01:35 PM

hi,

i try to get my imagegallery same pic wich in folder's name 

ImageGallerr.ImagesFolderPath="Image/"

image is the name of my foder but it not work and whene i make the same url in propertie it work 

plz i need help very quickly 

2 Answers, 1 is accepted

Sort by
0
EssMus
Top achievements
Rank 1
answered on 04 Jun 2015, 09:19 AM
i am still waiting for your answer 
0
Eyup
Telerik team
answered on 05 Jun 2015, 12:54 PM
Hi EssMus,

Try to set the ImagesFolderPath property in an earlier event handler, e.g. Page_Init. Also, define the folder name only as "ExactFolderName" without the slash "/".

In addition, I am sending a sample RadGrid web site to demonstrate how you can bind the image gallery using the NeedDataSource event handler.

Hope this helps.

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ImageGallery
Asked by
EssMus
Top achievements
Rank 1
Answers by
EssMus
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or