Problem with repeater control

R

ravi sankar

It is because of the double quotes within double quotes.
Try to replace "nID" with field number if possible.

regards,
s.ravi sankar
 
F

Flare

It is because of the double quotes within double quotes.
Try to replace "nID" with field number if possible.

Thx for your response

I have tried to correct that with:

<asp:TextBox ID='<%# DataBinder.Eval(Container.DataItem, "nid") %>'
RunAt="server">
<%# DataBinder.Eval(Container.DataItem, "start") %>
</asp:TextBox>

But now i get this runtime error:
Parser Error Message: '<%# DataBinder.Eval(Container.DataItem, "nid") %>' is
not a valid identifier.

what now?

Anders
 
L

Leon Jollans

you can't databind to a control's ID. How would the object model reference
the server control to bind the reference to?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top