Footer of a repeater: can't see the bound value

Camillia used Ask the Experts™
I have a repeater. I have a Headertemplate, itemtemplate and footer template.

I have this in my footer template.But the ID won't bind to it.

*** If I put it in ItemTemplate, then I see the value but I don't see it when it's in FooterTemplate.

How can I do this?

               <div class="floatRIGHT">
          <a href='<%# "JobApplication.aspx?jobId=" + DataBinder.Eval(Container.DataItem,"PostingID")%>'  class="btnCLASS"><img src="../images/btn_icon_checkbox.gif" alt="Apply Online" width="30" height="30" border="0" align="left" />Apply Online</a>

Open in new window

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2013
There is only one footer item in repeater and it is not databound.
From the code I think you need to add that link inside the ItemTemplate as its last element.
Footer is not for each item but it is for entire repeater.
So try moving that element inside the itemTemplate.

Here is how you can find control in the footer and set properties:
thanks, let me see

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial