I don't believe I can do the following using an #include tag, but was wondering if there's a work-around.
Scenario:
1. I have an .aspx file which contains code (no server side code), including server side controls (i.e. <ASP:UpdatePanel...>). When I do an <!--#include file...>, everything works fine, including the UpdatePanels being recognized and processed correctly at runtime.
2. I have to include this file into my main ASPX page. (Allot of code already written once but I now have to include multiple times).
3. The include file is VERY repetitious and needs to be included multiple times with some minor differences.
4. Instead of including multiple files (filenames), I'd like to have only one include file, do a replace on some tag (e.g. replace <SectionID> with "01") before including it into my main .aspx file.
So, overall, I want to replace: ...
Go to the complete details ...