I have a struct...
namespace Test.Web.UserControls
{
public struct StructTest
{
public const int PageBorder = 0;
....
And I'm trying to use it in a ".ascx" file:
<%@ Control Language="c#" Codebehind="Header.ascx.cs"
AutoEventWireup="false" Inherits="GSS.Web.UserControls.Header"%>
....
<table width="100%" height="100%" cellspacing="0" cellpadding="0"
border="<%=StructTest.PageBorder %>">
....
I can access "StructTest.PageBorder" in Page_Load on the ".ascx.cs" file,
but not in the ".ascx" file.
Any clues?
Thanks!
-nets