Reputation: 674
Can we have #include
in ASP.NET aspx
source code so that part of the HTML
code can be moved to different .aspx
page & called when necessary in the Parent.aspx page. I gone through the URL http://en.cppreference.com/w/cpp/preprocessor/include but when I tried with #include
Visual Studio 2012, intellisense didn't recogninzed it. So I'm not sure whether it is possible. Please guide.
Edit: I found another post Include another HTML file in a HTML file regarding #include
. Here they have mentioned about HTML
. Can we follow same with ASP.NET
?
I apologize if you feel this is a basic or lame question!
Upvotes: 0
Views: 374