locked
repeater after dataload event? RRS feed

  • Question

  • User1761253920 posted

    Hello, I can't find an event that is trigered after the whole repeater is loaded (not itemdatabound).

    I'm using a repeater for a "top 5" list, and I want to add "empty slots" after if finishes loading if there wheren't 5 items.

    Where can I call it to

    if (rep.Items.Count < 5)
    {
        int desde = rep.Items.Count + 1;
        for (int j = desde; j < 6; j++)
        {
            agregarVacante(j);
        }
    }

    I tested it in page load to see if it works, and it obiously adds 5 itmes to the ones that the database loads.

    Thanka!

    Wednesday, December 18, 2013 2:10 PM

Answers