recordcount in repeater - revisit

Discussion in 'ASP .Net Web Controls' started by Itzik k., Oct 21, 2003.

  1. Itzik k.

    Itzik k. Guest

    hey

    i guess millions asked this question.
    i found no good answer.
    i am using a repeater to show resutls of a search.
    i want to show how much records have been found.
    how can i do that?

    well, i understand it is a forward only, so i can get a value from the
    object,
    so how can i do it in a different way?
    i try to call to a method:
    <asp:Repeater id="rptResults" runat="server">
    <ItemTemplate>
    <% saveRecCount() %>
    ..
    ..

    but the it counts only after it renedered or something like that,
    becouse it didn't updated in my page_load routine which there i wrote
    something like:
    lblCountResults.InnerText = "found " & global_param & " results".


    thank you for your patient.
     
    Itzik k., Oct 21, 2003
    #1
    1. Advertising

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. Calvin
    Replies:
    2
    Views:
    674
    Mike Treseler
    Jul 13, 2005
  2. Goh
    Replies:
    4
    Views:
    7,949
    Steven Cheng[MSFT]
    Dec 16, 2005
  3. news frontiernet.net

    Revisit Simple Flush Right Need

    news frontiernet.net, Jul 10, 2004, in forum: HTML
    Replies:
    1
    Views:
    631
  4. Knute Johnson

    Revisit: List list = new ArrayList();

    Knute Johnson, Nov 8, 2007, in forum: Java
    Replies:
    17
    Views:
    1,849
  5. Curt Hibbs
    Replies:
    15
    Views:
    227
    Tom Copeland
    May 17, 2004
Loading...

Share This Page