Sunday, March 11, 2012

Is it possible to integrate Slideshowextender with a dropdownlistbox?

Hi Graham,

So your problem is about how to pass additional parameters to the method.

There is a predefined parameter named contextKey.

[System.Web.Services.WebMethod]
[System.Web.Script.Services.ScriptMethod]
public static AjaxControlToolkit.Slide[] GetSlides(string contextKey)

You may set the sliderShowExtender's contextKey on client side changed event handler of the DDL with the following function:

$find("BehaviorID").set_contextKey("ddl.selectedValue");


Thank you for all your help, I really appreciate it. Maybe someday when I know what I'm doing I will be able to return the favour...cheersWink

No comments:

Post a Comment