Home » » How to pass value to Ajax control slideshowextender using javascript function?

How to pass value to Ajax control slideshowextender using javascript function?

Written By M.L on வெள்ளி, 5 ஆகஸ்ட், 2011 | ஆகஸ்ட் 05, 2011

Requirement – Need to display images (like a slide show) based on the selection of the client name from drop down on the aspx page.

On my aspx page I have following components: Ajax SlideShowExtender (display slides), Select control (used to select the Client name)

Logic: Based on the selection of client in Select control, my images in Ajax control should change without postback

I have written a JavaScript function which gets called on “onchange” event of select control (i.e. when Client name changes). I am able to capture the new value of client in my JavaScript function but  - How to pass this value to the Ajax control is what my question is. All Ajax control accepts value via a string variable “ContextKey”. How to assign this new client value to Context key is the challenge.

If someone can give me pointers on this, it will be a great help.

Thanks in advance!!

0 comments:

கருத்துரையிடுக

Popular Posts

General Category