I using listview on an asp.net form..

It has item template and edit template...

I want to add ajax slider in both the templates..

I just used on script manager as suggested my many people,, but for reason i can only see one single slider in the top row.. and that even doesn't slide when i drag it..

but the same slider works fine outside of the listview...

here's my code if u wanna have a look and help me..

  <asp:ListView runat=server ID=listview1 DataSourceID="DS1">

            <LayoutTemplate>

            <table cellspacing=0 cellpadding=5px border=1px>

            <tr>
                <td>
                    DiemenionID
                </td>
                <td>
                    DimensionName
                </td>
                <td>
                    Range
                </td>
                <td>
                    Action
                </td>


            </tr>

            <tr ID=itemplaceholder runat=server ></tr>

            </table>

            </LayoutTemplate>

            <ItemTemplate>

            <tr>
                <td><%#Eval("DimensionID") %></td>    
                <td><%#Eval("DimensionName")%></td>   
                <td>

            <table class=HeaderTable>
                <tr>
                    <td valign=middle>
                        <asp:TextBox  ID="TextBox2" runat="server" Width=50 Text='<%# Eval("min") %>'></asp:TextBox>
                    </td>

                    <td style="width:160px" valign=top>
                          <asp:TextBox ID="TextBox1" runat="server" style="display:none" ></asp:TextBox>
                          <asp:MultiHandleSliderExtender ID="TextBox1_MultiHandleSliderExtender" 

                            runat="server" Enabled="True" HandleAnimationDuration="0.1" Maximum="100" Orientation=Horizontal
                            Minimum="0" TargetControlID="TextBox1" BehaviorID="TextBox1_MultiHandleSliderExtender" >

                            <MultiHandleSliderTargets>
                            <asp:MultiHandleSliderTarget ControlID="TextBox2"  />
                            <asp:MultiHandleSliderTarget ControlID="TextBox3"  />
                            </MultiHandleSliderTargets>

                            </asp:MultiHandleSliderExtender>
                    </td>

                    <td valign=middle>
                        <asp:TextBox  ID="TextBox3" runat="server" Width=50 Text='<%# Eval("max") %>'></asp:TextBox>
                    </td>

                </tr>
            </table>

                </td>   
                <td>
                    <asp:Button runat=server ID=btn_edit Text="Edit" CssClass=skip CommandName="Edit"/>
                </td>       
            </tr>
            </ItemTemplate>

i have attached a sanpshot.. this is what I am looking for..
has anyone done this before ?
slider_snapshot

alright people..
i solved it :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.