"Steven Cheng[MSFT]" <v-schang@online.microsoft.com> wrote in message
news:bbgNawpIEHA.348@cpmsftngxa06.phx.gbl...
> Thanks for all your suggestions.
>
> Hi Tiraman,
>
> In ASP.NET it still have its serverside include diretive which help to
> embeded some common page template into the asp.net webpage.
>
> #Server-Side Include Directive Syntax
>
http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconserver-sideinclud > edirectivesyntax.asp?frame=true
>
> However, as for your situation, you have some classic vb script function
in
> your old include file. I think its better to rewrite it via donet
> programming language( just as Andrew has suggest) because vbscript is no
> longer the serverside programming language in asp.net. Also, asp.net
> provide the UserControl which also help include some reusable page content
> or logics in common pages.
>
> #Including a User Control in a Web Forms Page
>
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconincludingpageletco > ntrolinanotherwebformspage.asp?frame=true
>
> In addition ,here are some other tech articles on the related topics.
> #Simulating include Files with an ASP.NET Server Control
>
http://msdn.microsoft.com/library/en-us/dnaspp/html/aspnet-simulatinginclude > asp?frame=true
>
> #Migrating to ASP.NET: Key Considerations
>
http://msdn.microsoft.com/library/en-us/dnaspp/html/aspnetmigrissues.asp?fra > me=true#aspnetmigrissues_intro
>
> Hope also helps. Thanks.
>
> Regards,
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure!
www.microsoft.com/security > (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
> Get Preview at ASP.NET whidbey
>
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
>