I have a global class GClass with 2 contants. Both are declared public in the
form:
PUBLIC Const Const1 = "xxx". When I try to use the constant as a default
value (see code excerpt below) the program bombs, but when I use a hardcoded
value it works fine. Any ideas?
Failing Version:
<SelectParamete rs>
<asp:Paramete r Name="Catalog" Type="String"
DefaultValue="< %
GClass.Const1 %>" />
Working Version:
<SelectParamete rs>
<asp:Paramete r Name="Catalog" Type="String"
DefaultValue="x xx" />
Thanks,
David
form:
PUBLIC Const Const1 = "xxx". When I try to use the constant as a default
value (see code excerpt below) the program bombs, but when I use a hardcoded
value it works fine. Any ideas?
Failing Version:
<SelectParamete rs>
<asp:Paramete r Name="Catalog" Type="String"
DefaultValue="< %
GClass.Const1 %>" />
Working Version:
<SelectParamete rs>
<asp:Paramete r Name="Catalog" Type="String"
DefaultValue="x xx" />
Thanks,
David
Comment