I have the following:
<div ID="divListViews" runat="server">
<div ID="divListView1" runat="server"> </div>
</div>
I am trying get divListView1 by doing this
Dim divListViews As HtmlGenericControl = TryCast(FindControl("divListViews"), HtmlGenericControl)
Dim divTemp As HtmlGenericControl = TryCast(divListViews.FindControl("divListView1"), HtmlGenericControl)
I get an object doesn't exist message.Any ideas?
Go to the complete details ...