div - dynamic id - code behind


M

Mark

I have code like that
<asp:Repeater ID="repClients" runat="server" >
<ItemTemplate>
<div runat="server" id="canFind" >
<div id="bbb" runat="server" ></div>
<div id="header<%#Eval("ClientId")%>" clientId="ccc"
uniqueID="bbb" myTag="myTag" enableviewstat="true"
runat="server" ....

I code behind I can find div "canFind" like that:
repClients.Items[0].FindControl("canFind")
But I can't find the next div with dynamic creation of id. I tried
using uniqueID, clientId, I tried to find it by my tag, but I can't.
Why ?

How to find div with dynamically created id ?

Thanks for help
 
Ad

Advertisements


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

Top