Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How to call Getslides method for ajax slideshow extender on demand( cu

TechonsetTechonset Posts: 1Member
Hi

I have reg Ajax slideshow extender doubt

I am trying to implement facebook style image slideshow on image click

Here I am using mutiple modalpopup and ajax slideshow extender on every modal popup

1) Please suggest me using mutiple modalpopup and ajax slideshow extender is best solution or I should modify the code.

And using mutiple modalpopup extender and slideshow extnder will affect web application performance?

2)On every page load GetSlides method is executing. i want to stop executing on every page load and should execute on demand

when particuler slideshow is going to popup only that servise method should be executted not others

Your Help will be apritiated, Look forrward for your help and support





[System.Web.Services.WebMethod]
[System.Web.Script.Services.ScriptMethod]
public static AjaxControlToolkit.Slide[] GetSlides()
{
return new AjaxControlToolkit.Slide[] {
new AjaxControlToolkit.Slide
("Images/Blue hills.jpg", "Blue Hills", "Go Blue"),
new AjaxControlToolkit.Slide("Image/1.jpg", "Sunset", "Setting sun"),
new AjaxControlToolkit.Slide("Image/2.jpg", "Winter", "Wintery..."),
new AjaxControlToolkit.Slide
("Image/3.jpg", "Water lillies", "Lillies in the water"),
new AjaxControlToolkit.Slide
("Image/4.jpg", "Sedona", "Portrait style picture")};
}




function ShowSlider()
{
debugger
var panel =$find('mpslideshow1');


panel.show();


}















In above code I have one image for that image one slideshow and modalpopup.

Like this I have 8 diff images and for every image one album, so I am going to use separte modalpopup, slideshow extender, javascript function, servicemthod for slideshowextender.

Thank you in advance

Sign In or Register to comment.