如何使 MultiHandleSliderExtender 透明?
我在带有背景图像的页面上有一个 MultiHandleSliderExtender 控件。该控件以纯白色背景呈现。我怎样才能使它透明?
这是代码:
<table>
<tr>
<td>
<asp:TextBox ID="probabilityFilterStartTextBox" runat="server" Width="30" Text="0"></asp:TextBox>
</td>
<td width="200" valign="top">
<asp:TextBox ID="probabilityTextBox" runat="server" Style="display:none;"></asp:TextBox>
<asp:MultiHandleSliderExtender ID="probabilityTextBox_MultiHandleSliderExtender"
runat="server" Enabled="True"
HandleAnimationDuration="0.1" Maximum="100" Minimum="0"
Length="200" TargetControlID="probabilityTextBox" Steps="21">
<MultiHandleSliderTargets>
<asp:MultiHandleSliderTarget ControlID="probabilityFilterStartTextBox" />
<asp:MultiHandleSliderTarget ControlID="probabilityFilterEndTextBox" />
</MultiHandleSliderTargets>
</asp:MultiHandleSliderExtender>
</td>
<td>
<asp:TextBox ID="probabilityFilterEndTextBox" runat="server" Width="30" Text="100"></asp:TextBox>
</td>
</tr>
</table>
I have a MultiHandleSliderExtender control on a page with a background image. The control is rendered with a solid white background. How can I make it transparent?
Here's the code:
<table>
<tr>
<td>
<asp:TextBox ID="probabilityFilterStartTextBox" runat="server" Width="30" Text="0"></asp:TextBox>
</td>
<td width="200" valign="top">
<asp:TextBox ID="probabilityTextBox" runat="server" Style="display:none;"></asp:TextBox>
<asp:MultiHandleSliderExtender ID="probabilityTextBox_MultiHandleSliderExtender"
runat="server" Enabled="True"
HandleAnimationDuration="0.1" Maximum="100" Minimum="0"
Length="200" TargetControlID="probabilityTextBox" Steps="21">
<MultiHandleSliderTargets>
<asp:MultiHandleSliderTarget ControlID="probabilityFilterStartTextBox" />
<asp:MultiHandleSliderTarget ControlID="probabilityFilterEndTextBox" />
</MultiHandleSliderTargets>
</asp:MultiHandleSliderExtender>
</td>
<td>
<asp:TextBox ID="probabilityFilterEndTextBox" runat="server" Width="30" Text="100"></asp:TextBox>
</td>
</tr>
</table>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MultiHandleSliderExtender 能够处理 .Net Web 应用程序中的多个滑块。
MultiHandleSlider 属性:
· 最小值 - 允许的最小值。
· 最大值 - 允许的最大值。
· 长度 - 图形滑块的长度(以像素为单位)。
· 小数 - 值的小数位数。
· 步骤 - 滑块范围内离散值的数量。
· EnableRailClick - 单击导轨是否会将最近的手柄移动到单击位置。
· EnableKeyboard - 是否可以使用键盘更改滑块值。
· EnableMouseWheel - 是否可以使用鼠标滚轮更改滑块值。
· 增量 - 对于使用键盘或鼠标滚轮支持的滑块;确定要增加或减少滑块值的点数。
· BoundControlID - 为了向后兼容,允许对单个手柄使用经典的滑块属性。
· RaiseChangeOnlyOnMouseUp - 如果为 true,则仅当释放鼠标左键时才在扩展 TextBox 上触发更改事件。
· MultiHandleSliderTargets - 描述滑块上每个手柄的内部属性。
· ControlID - 其值绑定到该句柄的文本框或标签。
欲了解更多信息,您可以查看以下链接...
http://mindstick.com/Articles/c214c6a1-e2eb-489d-9730-3d854c39aba0/?Ajax%20Toolkit%20MultiHandleSliderExtender%20Control%20in%20ASP.Net
谢谢!!!
MultiHandleSliderExtender enable to handle multi slider in .Net web application.
MultiHandleSlider Properties:
· Minimum - Minimum value allowed.
· Maximum - Maximum value allowed.
· Length - The length of the graphical slider, in pixels.
· Decimals - Number of decimal digits for the value.
· Steps - Number of discrete values inside the slider's range.
· EnableRailClick - Whether clicking on the rail will move the closest handle to the click location.
· EnableKeyboard - Whether slider values can be changed using the keyboard.
· EnableMouseWheel - Whether slider values can be changed using the mouse wheel.
· Increment - For sliders using keyboard or mouse wheel support; determines the number of points to increment or decrement the slider values.
· BoundControlID - For backwards compatibility, allows using classic Slider properties for a single handle.
· RaiseChangeOnlyOnMouseUp - If true, fires the change event on the extended TextBox only when the left mouse button is released.
· MultiHandleSliderTargets - An inner property describing each handle on the slider.
· ControlID - The TextBox or Label whose value is bound to this handle.
For more information you may check out the following link...
http://mindstick.com/Articles/c214c6a1-e2eb-489d-9730-3d854c39aba0/?Ajax%20Toolkit%20MultiHandleSliderExtender%20Control%20in%20ASP.Net
Thanks !!!!