troubleshooting Question

client id with jquery

Avatar of R8VI
R8VI asked on
.NET ProgrammingASP.NETjQuery
18 Comments2 Solutions761 ViewsLast Modified:

I want to know how i can make the control scrollable

 work with my grid view

I have the code below

Please ehlp


<asp:GridView ID="GridViewOutside" runat="server" DataSourceID="SqlDataSource6" AutoGenerateColumns="false"
                        <asp:TemplateField HeaderText="Year">
                                <asp:Label ID="lblDescription" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Year") %>'>></asp:Label>
                                <a class="prev browse left"></a>
                                <div id="dvGalleria" class="scrollable">
                                    <div class="items">
                                        <asp:GridView ID="InsideGridView" runat="server" AutoGenerateColumns="false" DataSourceID="SqlDataSource7">
                                                <asp:TemplateField HeaderText="Picture">
                                                        <img border="0" width="75px" alt="image" height="75px" src='<%# DataBinder.Eval(Container, "DataItem.PictureName")%>' />
                                </div> <a class="next browse right"></a>
                                <br clear="all" />

    <script type="text/javascript">
        // execute your scripts when the DOM is ready. this is mostly a good habit
        $(function() {

            // initialize scrollable

Jeroen Timmermans

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 18 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 18 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros