How to Find a Control in Listview on ItemDataBound Event?

well i know it's easy to do it..

but how will you find my div which is kept runat= "server"

in my Listview's ItemDataBound Event..

and i want witout using javascript?

thanks in advance!

Done..

HtmlGenericControl divPDFID = e.Item.FindControl("divPDFID") as HtmlGenericControl;

Hope this might help someone!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.