Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: include files and user controls


Message #1 by "sundar srinivasan" <ssrinivasan3@n...> on Thu, 5 Sep 2002 16:36:29
In my asp I have the following:

 <!--#include file="../Include/firstLineInclude.inc"-->

<%
sTitle = "FUTURES"
sFuncCode = "TKT12"
%>

<!--#include file="..\Include\SecurityCheckInclude.inc"-->

I have DIM'd sTitle and sFuncCode in the first include file and the value 
set in the render block is used by the second include to do security check.

If I change the include files to user controls in .net asp and define 
sTitle and sFuncCode as public in the first user control I get a 'not 
defined' error in the render block. What do I do?

Sundar

  Return to Index