hi all i try to make slid show and i use it in a usercontrol it works well but i want to get the image array from cs file here is the code <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="JavaHomePhotoAlbum.ascx.cs" Inherits="taboukproject.UserControls.JavaHomePhotoAlbum" %> <script type="text/javascript" src="../Scripts/dropinslideshow2.js"> </script> <div style="width: 205px; height: 180px;" align="right"> <script type="text/javascript"> //Define Image Array. Syntax: ["image_path", "url_destination", "url_target"] var myimages=new Array(); myimages[0]=["../Images/TabukImages/castle1.jpg", "", ""] myimages[1]=["../Images/TabukImages/castle2.jpg", "http://www.dynamicdrive.com", ""] myimages[2]=["../Images/TabukImages/castle4.jpg", "http://www.javascriptkit.com", "_new"] //Create new drop-in slideshow //Syntax: new dropinslideshow(image_array, slideshow_width, slideshow_height, delay_before_rotation) new dropinslideshow(myimages, 200, 160, 3000) </script> </div> please i want to know how can i atchive it i try this code but not working var myimages=new Array(<%ImagesArray(); %>); the method ImageArray returns arraylist but i can't see it inside the script even i set the method to public
MD_NADA