I have a telerik listview that is generating to much html for my slide show. The slide show only should contain two items but it contains 6. I am not sure why it generating extra code, but I was hoping there is a way with jquery to only select the appropriate ones that are created. I am using This Slide show, and Here is the markup that creates the slide show.
$(document).ready(function () {
$('#ctl00_MainContent_PhotoListData_lvSlideShowList_ctrl0_itemPlaceholderContainer').cycle({
fx: 'fade',
delay:-1000// choose your transition type, ex: fade, scrollUp, shuffle, etc...
});
});
You don’t need to hard-code such a long id, you shoul always use this instead when you have server controls: