yatin parab

yatin parab

  • NA
  • 54
  • 1.5k

datalist scrolling maintain state

Sep 16 2013 7:31 AM
i have datalist scrolling like news in master page, but each time when we redirect to another page it again starts from 1st position ,i want to maintain state of that news section it starts from that particular position only from where it ends while redirecting plz help me asap

<div class="horizontal_scroller" id="no_mouse_events">
                <div class="scrollingtext" id="ert">      
                    <asp:DataList ID="dlLinks" runat="server" RepeatColumns="3" HorizontalAlign="Center">
                        <ItemTemplate>
                            <ul>
                                <li><a href='<%# "http://"+Eval("Name") %>' id="hl" runat="server" target="_blank">
                                    <asp:Label ID="lblName" runat="server" Text='<%# Eval("Name")+"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" %>'></asp:Label></a></li></ul>
                        </ItemTemplate>
                    </asp:DataList>
                </div>
            </div>

this is my code and i appy above classes for rotating text .

thanks and regards 
yatin parab 

Answers (1)