Welcome to AspAdvice Sign in | Join | Help

Alessandro Gallo

.NET & Beyond
Slider Extender: new TooltipText property and Accessibility

In the latest version of the Ajax Control Toolkit, the Slider comes with a new property called TooltipText.

The TooltipText property can be set to a string that is displayed when we hover over the slider's handle. If the string contains the placeholder {0}, it will be replaced by the current value of the slider. For example, the slider in the below screenshot has the TooltipText property set to "Slider: value {0}. Please slide to change value".

Due to accessibility requirements, the Slider now always uses a img element to display the handle. This, combined with the TooltipText property, allows to obtain more accessible sliders. Below is a screenshot done in high contrast mode.

Note how the slider in  the figure has borders around the rail. At the moment, if you like to add borders, you should add them to a parent element rather than to the extended TextBox.

Posted: Thursday, June 07, 2007 8:57 AM by Garbin

Comments

ScottGu's Blog said:

Yesterday the ASP.NET AJAX Control Toolkit team released an updated version . You can download it from

# June 8, 2007 10:46 AM

ASP.NET said:

Yesterday the ASP.NET AJAX Control Toolkit team released an updated version . You can download it from

# June 8, 2007 12:25 PM

BusinessRx Reading List said:

Yesterday the ASP.NET AJAX Control Toolkit team released an updated version . You can download it from

# June 8, 2007 12:31 PM

Agung Riyadi said:

Yesterday the ASP.NET AJAX Control Toolkit team released an updated version . You can download it from

# June 11, 2007 1:35 AM

Francis Japson said:

how can you move the slider to a particular position when changing the value from the text box beside it

# January 16, 2008 11:32 PM

Garbin said:

@Francis: you shouldn't deal with the extended textbox on the client side. Instead, you can change the value by calling the set_Value method of the client slider instance.

# January 23, 2008 2:21 PM

rox19840702 said:

New ASP.NET AJAX Control Toolkit Release

# February 27, 2008 12:27 PM
New Comments to this post are disabled