I am utilizing controls in my asp.net application. I have a register tag the source of which needs to be dynamic. I am using the line below which functions correctly when the full path is specified but when I change it to the variable I get a parser error. Any idea how I can go about doing this?
Thanks
<%@ Register TagPrefix="leftNav" TagName="sectionLeftNav" Src="/inc/testLeftNav-" & myVar & ".ascx" %>