ajax sliderextender用于未显示滑块的位置

时间:2011-09-12 06:06:04

标签: asp.net ajax slider ajaxcontroltoolkit

我使用了ajax sliderextender用于滑块配置...即时通讯使用vs2005 ..如果我写下面提到的代码然后滑块没有显示在输出页面..哪里我出错...任何帮助..pls。 ..

    <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </ajaxToolkit:ToolkitScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:TextBox ID="Slider2" runat="server" Text="0" AutoPostBack="true"></asp:TextBox><br />
            <asp:TextBox ID="Slider2_BoundControl" Width="30" runat="server" Visible="true" Text="0"></asp:TextBox><br />
            <ajaxToolkit:SliderExtender ID="SliderExtender2" runat="server" BehaviorID="Slider2"
                TargetControlID="Slider2" BoundControlID="Slider2_BoundControl" Orientation="Horizontal"
                Minimum="-15" Maximum="30" Steps="45" EnableHandleAnimation="true" TooltipText="Select Bar Weight"
                RaiseChangeOnlyOnMouseUp="true">
            </ajaxToolkit:SliderExtender>
        </ContentTemplate>
    </asp:UpdatePanel>

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    ToolkitScriptManager1.RegisterAsyncPostBackControl(Slider2)    
End Sub

0 个答案:

没有答案