R
ryanmhuc
I'm new to .NET and I'm still trying to adapt from PHP. Especially when
dealing with includes. I would like a group of pages to all execute the
same Page_Preinit event code. In php I would just include a file but I
can't figure out how to accomplish this is .NET
What I'm trying to do is setup a group of pages that depending on which
subdomain will programmatically use a different masterpage. I'm
assuming I have to set the MasterPageFile in the Page_Preinit event but
I don't want to duplicate the code in each page. I'm I going about this
correctly?
Thanks
dealing with includes. I would like a group of pages to all execute the
same Page_Preinit event code. In php I would just include a file but I
can't figure out how to accomplish this is .NET
What I'm trying to do is setup a group of pages that depending on which
subdomain will programmatically use a different masterpage. I'm
assuming I have to set the MasterPageFile in the Page_Preinit event but
I don't want to duplicate the code in each page. I'm I going about this
correctly?
Thanks