Does ASP.NET have a way to set LINKS or SCRIPT tags through a variable?:
For example, from:
<head>
<LINK href="../../Styles/Master.css" type="text/css" rel="stylesheet">
<script src="../../Scripts/Common.js" type="text/javascript"></script>
</head>
To:
<head>
<LINK href=@MasterStyles type="text/css" rel="stylesheet">
<SCRIPT src=@CommonScript type="text/javascript"></script>
</head>
@MasterStyle and @CommonScript would be variables defined in the code-behind.
Thanks.
--Lenard
For example, from:
<head>
<LINK href="../../Styles/Master.css" type="text/css" rel="stylesheet">
<script src="../../Scripts/Common.js" type="text/javascript"></script>
</head>
To:
<head>
<LINK href=@MasterStyles type="text/css" rel="stylesheet">
<SCRIPT src=@CommonScript type="text/javascript"></script>
</head>
@MasterStyle and @CommonScript would be variables defined in the code-behind.
Thanks.
--Lenard