F
footballhead
I have a site that has MANY different clothing categories. I have a
page set up for displaying the products (productsearch.aspx) when a
user clicks one of the category links on the navigation menu. I would
like to have a different user control that gets loaded as a sub-header
for each category (ie, tee shirts, shoes, backpacks, etc.) The category
user controls include images and links to refined searches specific to
each category.
So far I have succesfully set up the different ASCX files for each
category. I am stuck when it comes to loading them.
The querystring contains a variable named CategoryID. Each of my user
controls are named with the same values used in the CategoryID
variable. How do I load the correct user control?
I am somewhat limited in that I do _NOT_ have access to code-behind.
All code I use must be inline on the ASPX and the ASCX pages.
If any of you have solutions or suggestions I would be very grateful!
Thanks,
five40
page set up for displaying the products (productsearch.aspx) when a
user clicks one of the category links on the navigation menu. I would
like to have a different user control that gets loaded as a sub-header
for each category (ie, tee shirts, shoes, backpacks, etc.) The category
user controls include images and links to refined searches specific to
each category.
So far I have succesfully set up the different ASCX files for each
category. I am stuck when it comes to loading them.
The querystring contains a variable named CategoryID. Each of my user
controls are named with the same values used in the CategoryID
variable. How do I load the correct user control?
I am somewhat limited in that I do _NOT_ have access to code-behind.
All code I use must be inline on the ASPX and the ASCX pages.
If any of you have solutions or suggestions I would be very grateful!
Thanks,
five40