problem with
-
hi, I created one ascx, and then I called programmatically Using this code Dim c1 As Control = LoadControl("Web.ascx") Page.Controls.Add(c1) Dim lnk As System.Web.UI.HtmlControls.HtmlAnchor lnk = c1.FindControl("link") But this code not working, How is work, how call is dynamically? Anybody know please tell me, Thanks, urs
-
hi, I created one ascx, and then I called programmatically Using this code Dim c1 As Control = LoadControl("Web.ascx") Page.Controls.Add(c1) Dim lnk As System.Web.UI.HtmlControls.HtmlAnchor lnk = c1.FindControl("link") But this code not working, How is work, how call is dynamically? Anybody know please tell me, Thanks, urs
For that you got to read few articles relating to view state.because it is not possible without it. view state is a property which is set to true problem is that when the page is reloaded the dynamic controls loose there state. and to keep their state you got to use view state. It will work than. Ahsan Ullah
-
For that you got to read few articles relating to view state.because it is not possible without it. view state is a property which is set to true problem is that when the page is reloaded the dynamic controls loose there state. and to keep their state you got to use view state. It will work than. Ahsan Ullah
-
For that you got to read few articles relating to view state.because it is not possible without it. view state is a property which is set to true problem is that when the page is reloaded the dynamic controls loose there state. and to keep their state you got to use view state. It will work than. Ahsan Ullah