Page LifeCycle Problem !
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
can any one guide me how can i getrid of this problem?? using following code.. on button click Frame userControl = (Frame)Page.LoadControl("~/Frame.ascx"); userControl.ID = "myframe"; userControl.SetSource = TextBox1.Text; --->set the usercontrol iframe src attributes property WebPart mywebpart = WebPartManager2.CreateWebPart(userControl); WebPartManager2.AddWebPart(mywebpart, WebPartZone3, 33); ---> when this function is called src property of usercontrol is lost how can i stop losting it??
Government Dyal Singh College Lahore.