How to get repeater cell values without using ID

Discussion in 'Microsoft ASP .NET' started by ksenthilece@gmail.com, Aug 9, 2007.

  1. Guest

    I needed to get each values of a particular cell ..i.e cell value is
    integer and add each value of the column and display it in the
    footer..can anyone suggest
     
    , Aug 9, 2007
    #1
    1. Advertisements

  2. Why don't you want to use id?

    The way of doing your sort of things is to add runat="server" to the control
    that holds the value in the ItemTemplate. Then you can access the control in
    the ItemDataBound or PreRender event with FindControl method called for
    every repeater item.

    --
    Eliyahu Goldin,
    Software Developer & Consultant
    Microsoft MVP [ASP.NET]
    http://msmvps.com/blogs/egoldin


    <> wrote in message
    news:...
    > I needed to get each values of a particular cell ..i.e cell value is
    > integer and add each value of the column and display it in the
    > footer..can anyone suggest
    >
     
    Eliyahu Goldin, Aug 9, 2007
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bivin
    Replies:
    0
    Views:
    214
    bivin
    Jul 8, 2003
  2. Repeater control with nested repeater

    , Feb 11, 2005, in forum: Microsoft ASP .NET
    Replies:
    0
    Views:
    701
  3. Replies:
    0
    Views:
    808
  4. Repeater inside a repeater....how?

    , Aug 10, 2005, in forum: Microsoft ASP .NET
    Replies:
    1
    Views:
    276
    Karl Seguin
    Aug 10, 2005
  5. Alan Silver
    Replies:
    8
    Views:
    267
    Alan Silver
    Feb 7, 2006
Loading...

Share This Page