using ascx file within an aspx file
Posted on 2008-11-12
I have about 5 radio buttons and 3 drop downs that are used and are the same in 3 different pages, instead of duplicating the code in all 3 pages, I thought to use a web user control....the problem is I dont know how to source the drop down list within the aspx file.
I have code that populates the drop downs, is it to be in the ascx code behind or the aspx code behind. I need to understand how I can get the two to talk to each other.
VS.NET 2003 - C#
the master page is called default.aspx
and the user control is called settings.ascx
is this possible to do, what am I missing?
all input appreciated.