Halo guys,,
and inside the div tag i am binding controls dynamically on a Button Click..
Protected
Dim
Featured = LoadControl(
tempdatalist = Featured.FindControl(
tempdatalist.Text = myDataReader(
Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Featured As Control"CaseDataList.ascx")Dim tempdatalist As LinkButton"ContentLabel")"CaseTitle").ToString()
KeywordSearchResult.Controls.Add(Featured)
end sub
On postback, all the controls inside the div tag gets lost..
How to preserve the controls inside the div tag on PostBack
Kindly help me in this regard..
All replies are appreciated
i have a div tag in ascx file
<
div id="KeywordSearchResult" runat="server">div>
</