B
buran
Dear ASP.NET Programmers,
I am loading a web user control ("taclient.ascx") into a placeholder (ID:
phFA). The web user control contains a cancel button (ID: btnCancel). I
would like to "unload" the web user control when the user clicks on the
cancel button. How can I accomplish this? Thanks in advance.
dim myControl as Control
myControl = LoadControl("taclient.ascx")
phFA.Controls.Clear()
phFA.Controls.Add(myControl)
Buran
I am loading a web user control ("taclient.ascx") into a placeholder (ID:
phFA). The web user control contains a cancel button (ID: btnCancel). I
would like to "unload" the web user control when the user clicks on the
cancel button. How can I accomplish this? Thanks in advance.
dim myControl as Control
myControl = LoadControl("taclient.ascx")
phFA.Controls.Clear()
phFA.Controls.Add(myControl)
Buran