如何根据范围更改Asp.net中Slider Extender控件的背景颜色 [英] How to change the background color of Slider Extender control in Asp.net according to range

查看:59
本文介绍了如何根据范围更改Asp.net中Slider Extender控件的背景颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述







我使用下面的样式表。但是当我从一步到另一步时,它没有改变颜色或滑块。请尽快帮助我。



< style type =text / css>

.ajax_slider_h_rail

{

位置:相对;

身高:18px;

宽度:400px;

背景:url('Images / 1.png')repeat-x;



}

。 ajax_slider_h_handle

{

身高:10px;

宽度:10px;

位置:绝对;



}



< / style>

解决方案

您可以使用以下属性申请样式



RailCssClass =ajax__slider_h_rail



HandleCssClass =ajax__slider_h_handle

Hi,


I am using the below style sheet . but its not changing the color or slider while I am moving from one step to another. Kindly help me on this asap.

<style type="text/css">
.ajax_slider_h_rail
{
position: relative;
height: 18px;
width: 400px;
background: url('Images/1.png') repeat-x;

}
.ajax_slider_h_handle
{
height:10px;
width:10px;
position:absolute;

}

</style>

解决方案

you can apply styles using the following properties

RailCssClass="ajax__slider_h_rail"

HandleCssClass="ajax__slider_h_handle"


这篇关于如何根据范围更改Asp.net中Slider Extender控件的背景颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆