Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

getting client id in javascript or asp.net

Avatar of R8VI
R8VI asked on
JavaScript.NET ProgrammingASP.NET
39 Comments1 Solution1691 ViewsLast Modified:

I want to know how i can get client id i have the code below but becasue i have put runat='server' in the div id ="galleria" i am getting client id as well so in the script it knt find galleria

Please help


            width: 700px;
            margin: 20px auto;

<asp:GridView ID="GridViewOutside" runat="server" DataSourceID="SqlDataSource6" AutoGenerateColumns="false"
                        <asp:TemplateField HeaderText="Y">
                                <asp:Label ID="lblDescription" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Y") %>'>></asp:Label>
                          <div id="galleria" runat="server" >
                                    <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")%>' />

    <script type="text/javascript">
        // Classic theme is now loaded using <script> instead
        // You can still use loadTheme if you like, either works.
            transition: 'fade',
            autoplay: false
Avatar of UnexplainedWays

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

This problem has been solved!
Unlock 1 Answer and 39 Comments.
See Answers