Is there a way to access a usercontrol in a class file
I have file defaultpage.aspx
defaultpage.aspx.vb class inherits dpclass.vb
dpclass.vb inherits system.web.ui.page
Now I have a usercontrol filterbar.ascx which is added to page default.aspx
How can i access the control in dpcalss.vb
Any help woub be appriciated.
Visual Basic.NETASP.NET
Last Comment
Bob Learned
8/22/2022 - Mon
Bob Learned
You should be able to use Page.FindControl(id) with the ID for the FilterBar user control.
Bob