0

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>
1
Contributor
3
Replies
4
Views
5 Years
Discussion Span
Last Post by bilal_fazlani
0

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.